MCPcopy Create free account
hub / github.com/AmazingAng/PolyWorld / POST

Function POST

src/app/api/sync/route.ts:7–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5export const dynamic = "force-dynamic";
6
7export async function POST() {
8 try {
9 const result = await runSync();
10 return NextResponse.json(result);
11 } catch (err) {
12 return apiError("sync", "Sync failed", 500, err);
13 }
14}

Callers

nothing calls this directly

Calls 2

runSyncFunction · 0.90
apiErrorFunction · 0.90

Tested by

no test coverage detected