mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-15 18:55:56 +08:00
Update apps/api/src/controllers/v1/types.ts
This commit is contained in:
parent
843cec971d
commit
290dd033d3
@ -135,7 +135,7 @@ export const actionsSchema = z.array(
|
|||||||
).refine(
|
).refine(
|
||||||
(actions) => actions.length <= MAX_ACTIONS,
|
(actions) => actions.length <= MAX_ACTIONS,
|
||||||
{
|
{
|
||||||
message: `Maximum of ${MAX_ACTIONS} actions allowed`,
|
message: `Number of actions cannot exceed ${MAX_ACTIONS}`,
|
||||||
},
|
},
|
||||||
).refine(
|
).refine(
|
||||||
(actions) => calculateTotalWaitTime(actions) <= ACTIONS_MAX_WAIT_TIME * 1000,
|
(actions) => calculateTotalWaitTime(actions) <= ACTIONS_MAX_WAIT_TIME * 1000,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user