Skip to content

Commit

Permalink
fix(script): accept any scriptParameterValue
Browse files Browse the repository at this point in the history
  • Loading branch information
DASPRiD committed Mar 7, 2024
1 parent 607678e commit f87d392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export type ScriptHandlerResult =
};

const bodySchema = z.object({
scriptParameterValue: z.string().transform((value) => JSON.parse(value)),
scriptParameterValue: z.unknown(),
});

export const scriptHandlerProxy =
Expand Down

0 comments on commit f87d392

Please sign in to comment.