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,