Skip to content

Commit

Permalink
Update ParentID Type To Match API
Browse files Browse the repository at this point in the history
  • Loading branch information
squatched committed Aug 28, 2023
1 parent d6c7f06 commit 588a6fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion confluence/internal/page_impl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ func Test_internalPageImpl_Create(t *testing.T) {
SpaceID: 203718658,
Status: "current",
Title: "Page create title test",
ParentID: 123456789,
ParentID: "123456789",
Body: &model.PageBodyRepresentationScheme{
Representation: "atlas_doc_format",
Value: string(mockedBodyValue),
Expand Down
2 changes: 1 addition & 1 deletion pkg/infra/models/confluence_page.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ type PageCreatePayloadScheme struct {
SpaceID int `json:"spaceId,omitempty"`
Status string `json:"status,omitempty"`
Title string `json:"title,omitempty"`
ParentID int `json:"parentId,omitempty"`
ParentID string `json:"parentId,omitempty"`
Body *PageBodyRepresentationScheme `json:"body,omitempty"`
}

Expand Down

0 comments on commit 588a6fc

Please sign in to comment.