Skip to content

Commit

Permalink
remove query runner release
Browse files Browse the repository at this point in the history
  • Loading branch information
xen-HendryZheng committed Jul 19, 2023
1 parent b559425 commit 524d925
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions backend/src/services/bid.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,7 @@ export class BidService {

} catch (err) {
await this.queryRunner.rollbackTransaction()
} finally {
await this.queryRunner.release()
}
}
} else {
return new StandardError(ErrorCodes.BID_TIME_OVER, null);
}
Expand Down

0 comments on commit 524d925

Please sign in to comment.