Skip to content

Commit

Permalink
Merge pull request #248 from mcramer-billgo/fix/#247
Browse files Browse the repository at this point in the history
Fixes #247 : type mismatch on SpaceID in PageCreatePayloadScheme
  • Loading branch information
ctreminiom authored Oct 13, 2023
2 parents a51d437 + 4492542 commit 9e23f15
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 @@ -718,7 +718,7 @@ func Test_internalPageImpl_Create(t *testing.T) {
}

mockedPayload := &model.PageCreatePayloadScheme{
SpaceID: 203718658,
SpaceID: "203718658",
Status: "current",
Title: "Page create title test",
Body: &model.PageBodyRepresentationScheme{
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 @@ -46,7 +46,7 @@ type PageBodyScheme struct {
}

type PageCreatePayloadScheme struct {
SpaceID int `json:"spaceId,omitempty"`
SpaceID string `json:"spaceId,omitempty"`
Status string `json:"status,omitempty"`
Title string `json:"title,omitempty"`
Body *PageBodyRepresentationScheme `json:"body,omitempty"`
Expand Down

0 comments on commit 9e23f15

Please sign in to comment.