Skip to content

Commit 2634fdb

Browse files
committed
fix(extend): cast json response to fix type error
1 parent 5583f94 commit 2634fdb

File tree

1 file changed

+1
-1
lines changed
  • apps/sim/app/api/tools/extend/parse

1 file changed

+1
-1
lines changed

apps/sim/app/api/tools/extend/parse/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export async function POST(request: NextRequest) {
138138
)
139139
}
140140

141-
const extendData = await extendResponse.json()
141+
const extendData = (await extendResponse.json()) as Record<string, unknown>
142142

143143
logger.info(`[${requestId}] Extend parse successful`)
144144

0 commit comments

Comments
 (0)