mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-01 22:38:49 +01:00
🎨 Improve av api setAttributeViewBlockAttr https://github.com/siyuan-note/siyuan/issues/12996
This commit is contained in:
parent
680d637ed9
commit
777a7c9f51
3 changed files with 5 additions and 7 deletions
|
|
@ -614,9 +614,8 @@ func setAttributeViewBlockAttr(c *gin.Context) {
|
|||
avID := arg["avID"].(string)
|
||||
keyID := arg["keyID"].(string)
|
||||
rowID := arg["rowID"].(string)
|
||||
cellID := arg["cellID"].(string)
|
||||
value := arg["value"].(interface{})
|
||||
updatedVal, err := model.UpdateAttributeViewCell(nil, avID, keyID, rowID, cellID, value)
|
||||
updatedVal, err := model.UpdateAttributeViewCell(nil, avID, keyID, rowID, value)
|
||||
if err != nil {
|
||||
ret.Code = -1
|
||||
ret.Msg = err.Error()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue