Skip to content

Commit

Permalink
constructor name fixed cancel users subscription
Browse files Browse the repository at this point in the history
  • Loading branch information
argotte committed Jan 15, 2024
1 parent 7f8989c commit 8ab0935
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class CancelUsersSubscription implements IApplicationService<userId, void
constructor(private readonly repo: IUserRepository,private readonly transactionHandler:ItransactionHandler) {}

get name(): string {
throw new Error("Method not implemented.");
return this.constructor.name;
}

async execute(id: userId): Promise<Result<void>>{
Expand Down

0 comments on commit 8ab0935

Please sign in to comment.