This commit is contained in:
Daniel 2025-06-09 18:06:47 +08:00
parent 6658e16259
commit aa04451278
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

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