Skip to content

Commit

Permalink
fix: example mandatory pages
Browse files Browse the repository at this point in the history
  • Loading branch information
c-seeger committed Apr 11, 2023
1 parent 7aa16f0 commit f277b26
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/content/content.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ func main() {
// create content
data := &goconfluence.Content{
Type: "page", // can also be blogpost
Title: "Some-Test-Page", // page title
Title: "Some-Test-Page", // page title (mandatory)
Ancestors: []goconfluence.Ancestor{
goconfluence.Ancestor{
{
ID: "123456", // ancestor-id optional if you want to create sub-pages
},
},
Expand All @@ -50,7 +50,7 @@ func main() {
Representation: "storage",
},
},
Version: &goconfluence.Version{
Version: &goconfluence.Version{ // mandatory
Number: 1,
},
Space: &goconfluence.Space{
Expand Down

0 comments on commit f277b26

Please sign in to comment.