From f66096a60b68df89df69f7f841d4c4b853d38402 Mon Sep 17 00:00:00 2001 From: Matthieu Bosquet Date: Mon, 11 Jan 2021 18:33:17 +0000 Subject: [PATCH] change: AsyncHandler consistent parameter name --- src/util/AsyncHandler.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } }