Skip to content

Commit 585c998

Browse files
committed
refactor: remove transactional decorator from revoke user subscription handler
1 parent cc0101d commit 585c998

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/modules/users/commands/revoke-user-subscription/revoke-user-subscription.handler.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { ERRORS } from '@contract/constants';
22

33
import { CommandHandler, ICommandHandler } from '@nestjs/cqrs';
4-
import { Transactional } from '@nestjs-cls/transactional';
54
import { Logger } from '@nestjs/common';
65

76
import { ICommandResponse } from '@common/types/command-response.type';
@@ -18,7 +17,6 @@ export class RevokeUserSubscriptionHandler
1817

1918
constructor(private readonly usersService: UsersService) {}
2019

21-
@Transactional()
2220
async execute(command: RevokeUserSubscriptionCommand): Promise<ICommandResponse<boolean>> {
2321
try {
2422
const result = await this.usersService.revokeUserSubscription(command.uuid);

0 commit comments

Comments
 (0)