database/sqlite: fix missing argument in DeleteUser
This commit is contained in:
parent
f6421c3498
commit
0548fdfa09
@ -637,7 +637,7 @@ func (db *SqliteDB) DeleteUser(ctx context.Context, id int64) error {
|
|||||||
FROM MessageTarget, Network
|
FROM MessageTarget, Network
|
||||||
WHERE MessageTarget.network = Network.id
|
WHERE MessageTarget.network = Network.id
|
||||||
AND Network.user = ?
|
AND Network.user = ?
|
||||||
)`)
|
)`, id)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user