Skip to content

Commit

Permalink
fix: 异常
Browse files Browse the repository at this point in the history
  • Loading branch information
MliKiowa committed Dec 13, 2024
1 parent aa520e2 commit 6f0a413
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion napcat.webui/src/backend/shell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class QQLoginManager {
if (ConfigResponse.status == 200) {
const ConfigResponseJson = await ConfigResponse.json();
if (ConfigResponseJson.code == ResponseCode.Success) {
return ConfigResponseJson;
return ConfigResponseJson.data;
}
}
} catch (error) {
Expand Down
1 change: 1 addition & 0 deletions src/core/services/NodeIKernelMsgService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { GeneralCallResult } from '@/core/services/common';
import { MsgReqType, QueryMsgsParams, TmpChatInfoApi } from '@/core/types/msg';

export interface NodeIKernelMsgService {
buildMultiForwardMsg(req: { srcMsgIds: Array<string>, srcContact: Peer }): Promise<GeneralCallResult & { rspInfo: { elements: unknown } }>;

generateMsgUniqueId(chatType: number, time: string): string;

Expand Down

0 comments on commit 6f0a413

Please sign in to comment.