Skip to content

Commit 39c9211

Browse files
fix: pass parentFolderId as query parameter in folderlist API
1 parent af0bef6 commit 39c9211

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/OpenSignServer/cloud/customRoute/v1/routes/getFolderList.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export default async function getFolderList(request, response) {
22
const apiToken = request.headers['x-api-token'];
3-
const parentFolderId = request.body.parentFolderId;
3+
const parentFolderId = request.query?.parentFolderId || '';
44
if (!apiToken) {
55
return response.status(400).json({ error: 'Please Provide API Token' });
66
}

0 commit comments

Comments
 (0)