fix: modelId
This commit is contained in:
1 parent
f4d40f0466
commit
ce3d35d7ec
4 files changed
+16
-5
No files matched your search
@@ -64,7 +64,7 @@ export class GetFileBase extends BaseAction<GetFilePayload, GetFileResponse> {
|
||||
const contextModelIdFile = FileNapCatOneBotUUID.decodeModelId(payload.file);
|
||||
if (contextModelIdFile) {
|
||||
const { peer, modelId } = contextModelIdFile;
|
||||
const downloadPath = await NTQQFileApi.downloadFileForModelId(peer, modelId);
|
||||
const downloadPath = await NTQQFileApi.downloadFileForModelId(peer, modelId,' ');
|
||||
const res: GetFileResponse = {
|
||||
file: downloadPath,
|
||||
url: downloadPath,
|
||||
|
||||
Reference in new issue
Block a user