mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 17:40:13 +01:00
🎨 The workspace will be reset on iOS https://github.com/siyuan-note/siyuan/issues/16544
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
128f6dfec3
commit
dc48b090e1
1 changed files with 1 additions and 0 deletions
|
|
@ -238,6 +238,7 @@ func getWorkspaces(c *gin.Context) {
|
||||||
model.RoleAdministrator,
|
model.RoleAdministrator,
|
||||||
}) {
|
}) {
|
||||||
ret.Data = []*Workspace{}
|
ret.Data = []*Workspace{}
|
||||||
|
logging.LogInfof("non-admin user tried to get workspaces")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue