Fix RestrictPageUpdatesServer (#45)

This commit is contained in:
elgreco247 2020-12-08 09:53:15 +01:00 committed by GitHub
parent ff17a4034c
commit 8018b54627
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -576,8 +576,10 @@ func (api *API) RestrictPageUpdatesServer(
).Post([]interface{}{ ).Post([]interface{}{
page.ID, page.ID,
"Edit", "Edit",
map[string]interface{}{ []map[string]interface{}{
"userName": allowedUser, {
"userName": allowedUser,
},
}, },
}) })
if err != nil { if err != nil {