fix: user cannot view folder size

This commit is contained in:
Methapon2001 2024-01-10 17:36:10 +07:00
parent bea1643105
commit d20f9f202e
No known key found for this signature in database
GPG key ID: 849924FEF46BD132

View file

@ -430,7 +430,7 @@ export class StorageController extends Controller {
*/
@Post("folder/size")
@Tags("Storage Folder")
@Security("bearerAuth", ["management-role", "admin"])
@Security("bearerAuth")
@SuccessResponse(HttpStatusCode.OK, "สำเร็จ")
@Example({
size: 10240,