From 0548fdfa098920b0e0731d439084e7d7aa5fd186 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 14 Apr 2023 17:37:53 +0200 Subject: [PATCH] database/sqlite: fix missing argument in DeleteUser --- database/sqlite.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/sqlite.go b/database/sqlite.go index 01c9736..5c07b66 100644 --- a/database/sqlite.go +++ b/database/sqlite.go @@ -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 }