Skip to content

Commit

Permalink
fix: quick error
Browse files Browse the repository at this point in the history
  • Loading branch information
MliKiowa committed Nov 30, 2024
1 parent 1e13483 commit b44e161
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/onebot/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class NapCatOneBot11Adapter {
readonly context: InstanceContext;

configLoader: OB11ConfigLoader;
apis: StableOneBotApiWrapper;
public readonly apis: StableOneBotApiWrapper;
networkManager: OB11NetworkManager;
actions: ActionMap;
private readonly bootTime = Date.now() / 1000;
Expand Down
2 changes: 1 addition & 1 deletion src/onebot/network/active-http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class OB11ActiveHttpAdapter implements IOB11NetworkAdapter {
try {
this.obContext.apis.QuickActionApi
.handleQuickOperation(event as QuickActionEvent, resJson)
.catch(e=>this.logger.logError(e));
.catch(e => this.logger.logError(e));
} catch (e: any) {
this.logger.logError('[OneBot] [Http Client] 新消息事件HTTP上报返回快速操作失败', e);
}
Expand Down

0 comments on commit b44e161

Please sign in to comment.