Skip to content

Commit 01f02f1

Browse files
committed
fix firecrawl scrape creditsUsed mapping
1 parent fecc435 commit 01f02f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/sim/tools/firecrawl/scrape.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export const scrapeTool: ToolConfig<ScrapeParams, ScrapeResponse> = {
111111
markdown: data.data.markdown,
112112
html: data.data.html,
113113
metadata: data.data.metadata,
114-
creditsUsed: data.creditsUsed,
114+
creditsUsed: data.data.metadata?.creditsUsed,
115115
},
116116
}
117117
},

0 commit comments

Comments
 (0)