fix
This commit is contained in:
parent
21f90f3dd1
commit
90c95fce51
|
@ -115,7 +115,6 @@ func MetadataResourcePATCH(tx *gorm.DB, rid string, updateMetadata any, values .
|
|||
WHEN metadata IS NULL THEN ?
|
||||
ELSE JSON_MERGE_PATCH(metadata, ?)
|
||||
END
|
||||
cond, ok := values[0].(string)
|
||||
WHERE resource_id = '%s'` + " and " + cond + `;`
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user