Skip to content

Instantly share code, notes, and snippets.

Last active February 11, 2021 18:39
What would you like to do?
// ...
type: RemittanceResultDto,
async makeRemittanceWithTransaction(@Body() remittanceDto: RemittanceDto) {
return await this.connection.transaction(transactionManager => {
return this.appService.withTransaction(transactionManager)/* <-- this is interesting new thing*/.makeRemittance(remittanceDto.userIdFrom, remittanceDto.userIdTo, remittanceDto.sum, remittanceDto.withError);
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment