feat(confidence-engine): establish authenticated product boundary
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { startCase } from "@/lib/graph/orchestrator.js";
|
||||
import { withAuthenticatedApi } from "@/lib/supabase/api-auth.js";
|
||||
|
||||
export async function POST(request) {
|
||||
async function post(request) {
|
||||
try {
|
||||
const body = await request.json();
|
||||
const result = await startCase(body);
|
||||
@@ -62,3 +63,5 @@ export async function POST(request) {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export const POST = withAuthenticatedApi(post);
|
||||
|
||||
Reference in New Issue
Block a user