mirror of
https://github.com/haorendashu/nowser.git
synced 2025-12-18 02:04:18 +01:00
app edit page
This commit is contained in:
@@ -32,7 +32,7 @@ class AppDB {
|
||||
|
||||
static Future update(App o, {DatabaseExecutor? db}) async {
|
||||
db = await DB.getDB(db);
|
||||
await db.update("app", o.toJson(), where: "id = ?", whereArgs: [o.pubkey]);
|
||||
await db.update("app", o.toJson(), where: "id = ?", whereArgs: [o.id]);
|
||||
}
|
||||
|
||||
static Future<void> delete(int id, {DatabaseExecutor? db}) async {
|
||||
|
||||
Reference in New Issue
Block a user