working on settings

This commit is contained in:
2024-09-11 21:33:35 -06:00
parent f42f631fad
commit 32b59b3975
7 changed files with 131 additions and 34 deletions

View File

@@ -0,0 +1,9 @@
import { fileStorageService } from "@/services/fileStorage/fileStorageService";
import { withErrorHandling } from "@/services/withErrorHandling";
export const GET = async () =>
await withErrorHandling(async () => {
const directories = await fileStorageService.getEmptyDirectories();
return Response.json(directories);
});