Skip to content

Commit

Permalink
Update types.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
nickscamara committed Jan 31, 2025
1 parent 26c61b9 commit 5819f60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/src/controllers/v1/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export const scrapeOptions = z
excludeTags: z.string().array().optional(),
onlyMainContent: z.boolean().default(true),
timeout: z.number().int().positive().finite().safe().optional(),
waitFor: z.number().int().nonnegative().finite().safe().default(0),
waitFor: z.number().int().nonnegative().finite().safe().max(60000).default(0),
// Deprecate this to jsonOptions
extract: extractOptions.optional(),
// New
Expand Down

0 comments on commit 5819f60

Please sign in to comment.