database/sqlite: fix missing argument in DeleteUser

This commit is contained in:
Simon Ser 2023-04-14 17:37:53 +02:00
parent f6421c3498
commit 0548fdfa09

View File

@ -637,7 +637,7 @@ func (db *SqliteDB) DeleteUser(ctx context.Context, id int64) error {
FROM MessageTarget, Network
WHERE MessageTarget.network = Network.id
AND Network.user = ?
)`)
)`, id)
if err != nil {
return err
}