🎨 Improve av api setAttributeViewBlockAttr https://github.com/siyuan-note/siyuan/issues/12996

This commit is contained in:
Daniel 2024-11-02 16:07:56 +08:00
parent 680d637ed9
commit 777a7c9f51
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 5 additions and 7 deletions

View file

@ -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()