mirror of
https://github.com/djhackersdev/minime.git
synced 2026-08-20 01:14:08 -05:00
idz/sql/teamReservation.ts: Fix ignored result set
Apparently the latest SQLite driver doesn't like it if you do that.
This commit is contained in:
@@ -16,7 +16,7 @@ export class SqlTeamReservationRepository
|
||||
.where("t.id", teamId)
|
||||
.forUpdate();
|
||||
|
||||
await this._txn.modify(lockSql);
|
||||
await this._txn.fetchRow(lockSql);
|
||||
}
|
||||
|
||||
async occupancyHack(teamId: Id<Team>): Promise<number> {
|
||||
|
||||
Reference in New Issue
Block a user