Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
5
export
const
dynamic =
"force-dynamic"
;
6
7
export
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
runSync
Function · 0.90
apiError
Function · 0.90
Tested by
no test coverage detected