mirror of
https://github.com/kovetskiy/mark.git
synced 2025-04-23 21:32:41 +08:00
Fix RestrictPageUpdatesServer (#45)
This commit is contained in:
parent
ff17a4034c
commit
8018b54627
@ -576,9 +576,11 @@ func (api *API) RestrictPageUpdatesServer(
|
||||
).Post([]interface{}{
|
||||
page.ID,
|
||||
"Edit",
|
||||
map[string]interface{}{
|
||||
[]map[string]interface{}{
|
||||
{
|
||||
"userName": allowedUser,
|
||||
},
|
||||
},
|
||||
})
|
||||
if err != nil {
|
||||
return err
|
||||
|
Loading…
x
Reference in New Issue
Block a user