fix: handleQuickOperation
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s

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

No files matched your search

+1 -1
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;
}
}