diff --git a/src/util/AsyncHandler.ts b/src/util/AsyncHandler.ts index f94567322..9d5ffc2b2 100644 --- a/src/util/AsyncHandler.ts +++ b/src/util/AsyncHandler.ts @@ -30,9 +30,9 @@ export abstract class AsyncHandler { * * @returns The result of the handle function of the handler. */ - public async handleSafe(data: TIn): Promise { - await this.canHandle(data); + public async handleSafe(input: TIn): Promise { + await this.canHandle(input); - return this.handle(data); + return this.handle(input); } }