mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: move references to memo property
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user