mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-28 03:06:10 +01:00
🎨 Database gallery view https://github.com/siyuan-note/siyuan/issues/10414
This commit is contained in:
parent
6658e16259
commit
aa04451278
1 changed files with 2 additions and 1 deletions
|
|
@ -97,8 +97,9 @@ func setDatabaseBlockView(c *gin.Context) {
|
|||
|
||||
blockID := arg["id"].(string)
|
||||
viewID := arg["viewID"].(string)
|
||||
avID := arg["avID"].(string)
|
||||
|
||||
err := model.SetDatabaseBlockView(blockID, viewID)
|
||||
err := model.SetDatabaseBlockView(blockID, avID, viewID)
|
||||
if err != nil {
|
||||
ret.Code = -1
|
||||
ret.Msg = err.Error()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue