mirror of
https://github.com/kovetskiy/mark.git
synced 2026-04-19 21:02:34 +00:00
Fix RestrictPageUpdatesServer (#45)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user