mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-27 07:58:31 -06:00
moving data to be held by react query
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { fileStorageService } from "@/services/fileStorage/fileStorageService";
|
||||
|
||||
export async function GET() {
|
||||
const courses = await fileStorageService.loadSavedCourses();
|
||||
const courses = await fileStorageService.getCourseNames();
|
||||
|
||||
return Response.json(courses);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user