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{}{
page.ID,
"Edit",
map[string]interface{}{
"userName": allowedUser,
[]map[string]interface{}{
{
"userName": allowedUser,
},
},
})
if err != nil {