Skip to content

Commit 6f35179

Browse files
Update apps/sim/tools/firecrawl/scrape.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent fecc435 commit 6f35179

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
@@ -38,7 +38,7 @@ export const scrapeTool: ToolConfig<ScrapeParams, ScrapeResponse> = {
3838
pricing: {
3939
type: 'custom',
4040
getCost: (_params, output) => {
41-
const creditsUsedString = (output.metadata as { creditsUsed?: number })?.creditsUsed
41+
const creditsUsed = (output.metadata as { creditsUsed?: number })?.creditsUsed
4242
if (creditsUsedString == null) {
4343
throw new Error('Firecrawl response missing creditsUsed field')
4444
}

0 commit comments

Comments
 (0)