mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 15:48:32 -06:00
working on settings
This commit is contained in:
9
nextjs/src/app/api/directories/empty/route.ts
Normal file
9
nextjs/src/app/api/directories/empty/route.ts
Normal 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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user