mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-21 16:27:18 +02:00
Allow legacy routine snapshots without env
This commit is contained in:
1 parent
596b4b3c64
commit
edaea37cc0
1 file changed
+1
-1
@@ -85,7 +85,7 @@ export const routineRevisionSnapshotRoutineV1Schema = z.object({
|
||||
concurrencyPolicy: z.enum(ROUTINE_CONCURRENCY_POLICIES),
|
||||
catchUpPolicy: z.enum(ROUTINE_CATCH_UP_POLICIES),
|
||||
variables: z.array(routineVariableSchema),
|
||||
env: envConfigSchema.nullable(),
|
||||
env: envConfigSchema.nullable().default(null),
|
||||
}).strict();
|
||||
|
||||
export const routineRevisionSnapshotTriggerV1Schema = z.object({
|
||||
|
||||
Reference in new issue
Block a user