mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
change: AsyncHandler consistent parameter name
This commit is contained in:
parent
66e636878f
commit
f66096a60b
@ -30,9 +30,9 @@ export abstract class AsyncHandler<TIn = void, TOut = void> {
|
||||
*
|
||||
* @returns The result of the handle function of the handler.
|
||||
*/
|
||||
public async handleSafe(data: TIn): Promise<TOut> {
|
||||
await this.canHandle(data);
|
||||
public async handleSafe(input: TIn): Promise<TOut> {
|
||||
await this.canHandle(input);
|
||||
|
||||
return this.handle(data);
|
||||
return this.handle(input);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user