fix app delete bug

This commit is contained in:
DASHU
2024-10-10 09:00:45 +08:00
parent 3facd2842c
commit 44ed45bdd8
3 changed files with 4 additions and 3 deletions

View File

@@ -37,6 +37,6 @@ class AppDB {
static Future<void> delete(int id, {DatabaseExecutor? db}) async {
db = await DB.getDB(db);
db.execute("delete from app where id = ?");
db.execute("delete from app where id = ?", [id]);
}
}