mirror of
https://github.com/aykhans/slash-e.git
synced 2025-06-14 03:47:50 +00:00
fix: update shortcut
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user