Skip to content

Commit

Permalink
Fix RestrictPageUpdatesServer (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
elgreco247 committed Dec 8, 2020
1 parent ff17a40 commit 8018b54
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkg/confluence/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -576,8 +576,10 @@ func (api *API) RestrictPageUpdatesServer(
).Post([]interface{}{
page.ID,
"Edit",
map[string]interface{}{
"userName": allowedUser,
[]map[string]interface{}{
{
"userName": allowedUser,
},
},
})
if err != nil {
Expand Down

0 comments on commit 8018b54

Please sign in to comment.