From c8c3e1250b943b5dbb6cc37f5953dd6a04333414 Mon Sep 17 00:00:00 2001 From: RemRem Date: Wed, 30 Nov 2022 22:07:02 +0100 Subject: [PATCH] test await when using create func --- lib/database/accounts_to_postgres.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/database/accounts_to_postgres.dart b/lib/database/accounts_to_postgres.dart index 7633bf2..ad07766 100644 --- a/lib/database/accounts_to_postgres.dart +++ b/lib/database/accounts_to_postgres.dart @@ -27,7 +27,7 @@ class AccountsToPostgres { @override void create(String email, String hash, String salt /*, List twoFaStr*/) async { - connection.query( + await connection.query( "INSERT INTO \"Account\" VALUES(@id,@hash,@salt,@twofa,@passwords)", substitutionValues: { "id": email,