[taskboard] add dispatch control plane
This commit is contained in:
7
app/api/tasks/templates/route.ts
Normal file
7
app/api/tasks/templates/route.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { NextResponse } from "next/server";
|
||||
|
||||
import { listTaskTemplates } from "@/lib/tasks";
|
||||
|
||||
export async function GET() {
|
||||
return NextResponse.json(await listTaskTemplates());
|
||||
}
|
||||
Reference in New Issue
Block a user