We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc0101d commit 585c998Copy full SHA for 585c998
src/modules/users/commands/revoke-user-subscription/revoke-user-subscription.handler.ts
@@ -1,7 +1,6 @@
1
import { ERRORS } from '@contract/constants';
2
3
import { CommandHandler, ICommandHandler } from '@nestjs/cqrs';
4
-import { Transactional } from '@nestjs-cls/transactional';
5
import { Logger } from '@nestjs/common';
6
7
import { ICommandResponse } from '@common/types/command-response.type';
@@ -18,7 +17,6 @@ export class RevokeUserSubscriptionHandler
18
17
19
constructor(private readonly usersService: UsersService) {}
20
21
- @Transactional()
22
async execute(command: RevokeUserSubscriptionCommand): Promise<ICommandResponse<boolean>> {
23
try {
24
const result = await this.usersService.revokeUserSubscription(command.uuid);
0 commit comments