mirror of
https://github.com/kovetskiy/mark.git
synced 2025-04-24 05:42:40 +08:00
Fix RestrictPageUpdatesServer (#45)
This commit is contained in:
parent
ff17a4034c
commit
8018b54627
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user