idz/sql/teamMember.ts: Fix another ignored result set

That should cover all the leftover uses of forUpdate() ...
This commit is contained in:
Tau
2019-11-09 14:00:24 -05:00
parent 59fec74d08
commit 0ac8b44ce0
+1 -1
View File
@@ -74,7 +74,7 @@ export class SqlTeamMemberRepository implements TeamMemberRepository {
.where("id", teamId)
.forUpdate();
await this._txn.modify(lockSql);
await this._txn.fetchRow(lockSql);
// Double-check (with lock held) that there is room to join this team.
// If this fails then the error will propagate to the client and it will