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:
Tau 2019-11-04 18:09:49 -05:00
parent 1b41b82745
commit c50a0093fd

View File

@ -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> {