an extra comma...

This commit is contained in:
Andre Medeiros 2022-03-26 10:49:18 -04:00
parent a6abda91a7
commit 84b5959aa2

View file

@ -175,7 +175,7 @@ func (p *postgresDeviceRepository) SetNotifiable(ctx context.Context, dev *domai
UPDATE devices_accounts UPDATE devices_accounts
SET SET
inbox_notifiable = $1, inbox_notifiable = $1,
watcher_notifiable = $2, watcher_notifiable = $2
WHERE device_id = $3 AND account_id = $4` WHERE device_id = $3 AND account_id = $4`
res, err := p.pool.Exec(ctx, query, inbox, watcher, dev.ID, acct.ID) res, err := p.pool.Exec(ctx, query, inbox, watcher, dev.ID, acct.ID)