From f110c2d3df74dcd87487848002364ed19befcdcf Mon Sep 17 00:00:00 2001 From: Misa Liu Date: Tue, 27 Feb 2024 17:55:19 +0800 Subject: [PATCH] style: Fix typo --- src/ntqqapi/ntcall.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ntqqapi/ntcall.ts b/src/ntqqapi/ntcall.ts index da6276f..a85056e 100644 --- a/src/ntqqapi/ntcall.ts +++ b/src/ntqqapi/ntcall.ts @@ -83,7 +83,7 @@ export enum NTQQApiMethod { CACHE_SCAN = 'nodeIKernelStorageCleanService/scanCache', CACHE_CLEAR = '', // TODO - CACHE_CHAT_SCAN = 'nodeIKernelStorageCleanService/getChatCacheInfo', + CACHE_CHAT_GET = 'nodeIKernelStorageCleanService/getChatCacheInfo', CACHE_CHAT_CLEAR = 'nodeIKernelStorageCleanService/clearChatCacheInfo', } @@ -725,7 +725,7 @@ export class NTQQApi { static getChatCacheList(type: 1 | 2, pageSize: number = 80, pageIndex: number = 0) { return new Promise((res, rej) => { callNTQQApi({ - methodName: NTQQApiMethod.CACHE_CHAT_SCAN, + methodName: NTQQApiMethod.CACHE_CHAT_GET, args: [{ ChatType: type, pageSize,