diff --git a/apps/OpenSignServer/cloud/customRoute/v1/routes/getFolderList.js b/apps/OpenSignServer/cloud/customRoute/v1/routes/getFolderList.js index e3a73d862..b55b16d5b 100644 --- a/apps/OpenSignServer/cloud/customRoute/v1/routes/getFolderList.js +++ b/apps/OpenSignServer/cloud/customRoute/v1/routes/getFolderList.js @@ -1,6 +1,6 @@ export default async function getFolderList(request, response) { const apiToken = request.headers['x-api-token']; - const parentFolderId = request.body.parentFolderId; + const parentFolderId = request.query?.parentFolderId || ''; if (!apiToken) { return response.status(400).json({ error: 'Please Provide API Token' }); }