chore: move references to memo property

This commit is contained in:
johnnyjoy
2025-01-31 14:18:07 +08:00
parent 3fa690964e
commit 2058a8ab7b
27 changed files with 233 additions and 280 deletions

View File

@ -233,7 +233,7 @@ func (d *DB) UpdateMemo(ctx context.Context, update *store.UpdateMemo) error {
}
set, args = append(set, "payload = "+placeholder(len(args)+1)), append(args, string(payloadBytes))
}
if len(args) == 0 {
if len(set) == 0 {
return nil
}