mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-25 23:28:33 -06:00
9 lines
339 B
TypeScript
9 lines
339 B
TypeScript
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);
|
|
});
|
|
|