fix: missing trailing slash

This commit is contained in:
Methapon2001 2023-11-30 09:33:12 +07:00
parent 4e2146e993
commit f1de8475fe
No known key found for this signature in database
GPG key ID: 849924FEF46BD132

View file

@ -131,7 +131,7 @@ export class FolderController extends Controller {
@Path() drawerName: string,
@Path() folderName: string,
) {
const path = `${cabinetName}/${drawerName}/${folderName}`;
const path = `${cabinetName}/${drawerName}/${folderName}/`;
const list = await listItem(DEFAULT_BUCKET!, path, true);
await Promise.all(