style: Fix typo

This commit is contained in:
Misa Liu 2024-02-27 17:55:19 +08:00
parent f521873ba7
commit f110c2d3df
No known key found for this signature in database
GPG Key ID: F70B23D0A4FED791

View File

@ -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<ChatCacheList>((res, rej) => {
callNTQQApi<ChatCacheList>({
methodName: NTQQApiMethod.CACHE_CHAT_SCAN,
methodName: NTQQApiMethod.CACHE_CHAT_GET,
args: [{
ChatType: type,
pageSize,