mirror of
https://github.com/djhackersdev/minime.git
synced 2026-07-07 04:24:04 -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:
parent
1b41b82745
commit
c50a0093fd
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user