define more properties of new confluence object
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
12
main.go
12
main.go
@@ -366,13 +366,21 @@ func main() {
|
||||
fmt.Printf("New Content: %v\n", newContent)
|
||||
|
||||
data := &goconfluence.Content{
|
||||
ID: *cPageId,
|
||||
ID: c.ID,
|
||||
Type: c.Type,
|
||||
Title: c.Title,
|
||||
Body: goconfluence.Body{
|
||||
Storage: goconfluence.Storage{
|
||||
Value: newContent,
|
||||
Representation: "storage",
|
||||
Representation: c.Body.Storage.Representation,
|
||||
},
|
||||
},
|
||||
Version: &goconfluence.Version{
|
||||
Number: c.Version.Number + 1,
|
||||
},
|
||||
Space: &goconfluence.Space{
|
||||
Key: c.Space.Key,
|
||||
},
|
||||
}
|
||||
//c.Body.Storage.Value = newContent
|
||||
fmt.Printf("confluence object : '%v'\n", data)
|
||||
|
Reference in New Issue
Block a user