fix: update shortcut

This commit is contained in:
Steven
2023-12-23 23:52:44 +08:00
parent b73f7070e4
commit 546d87ca0b
28 changed files with 1607 additions and 1345 deletions

View File

@ -77,8 +77,8 @@ func (d *DB) UpdateShortcut(ctx context.Context, update *store.UpdateShortcut) (
if len(set) == 0 {
return nil, errors.New("no update specified")
}
args = append(args, update.ID)
args = append(args, update.ID)
stmt := fmt.Sprintf(`
UPDATE shortcut
SET %s