fix: handleQuickOperation

This commit is contained in:
手瓜一十雪
2024-08-27 22:47:30 +08:00
parent be39fc3a21
commit f691320453
3 changed files with 16 additions and 19 deletions

View File

@@ -13,7 +13,7 @@ export class GoCQHTTPHandleQuickAction extends BaseAction<Payload, null> {
async _handle(payload: Payload): Promise<null> {
this.obContext.apis.QuickActionApi
.handleQuickOperation(payload.context, payload.operation)
.catch(this.core.context.logger.logError);
.catch(this.core.context.logger.logError.bind(this.core.context.logger));
return null;
}
}