fix missing await error
This commit is contained in:
@@ -27,7 +27,7 @@ class PlayerGroupDao extends DatabaseAccessor<AppDatabase>
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!await db.playerDao.playerExists(playerId: player.id)) {
|
if (!await db.playerDao.playerExists(playerId: player.id)) {
|
||||||
db.playerDao.addPlayer(player: player);
|
await db.playerDao.addPlayer(player: player);
|
||||||
}
|
}
|
||||||
|
|
||||||
await into(playerGroupTable).insert(
|
await into(playerGroupTable).insert(
|
||||||
|
|||||||
Reference in New Issue
Block a user