Skip to content

Commit

Permalink
fix: renamed a variable
Browse files Browse the repository at this point in the history
  • Loading branch information
patricia-mdias committed Nov 28, 2022
1 parent d9bb934 commit db6f313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/modules/teams/services/delete.team.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default class DeleteTeamService implements DeleteTeamServiceInterface {
async delete(teamId: string): Promise<boolean> {
const teamSession = await this.teamModel.db.startSession();
teamSession.startTransaction();
const teamUserSession = await this.teamModel.db.startSession();
const teamUserSession = await this.teamUserModel.db.startSession();
teamUserSession.startTransaction();

try {
Expand Down

0 comments on commit db6f313

Please sign in to comment.