Skip to content

Commit

Permalink
Merge pull request #44 from DimensionDev/fix/remove-validation
Browse files Browse the repository at this point in the history
fix: remove pre validation
  • Loading branch information
dudu0506 authored Oct 25, 2024
2 parents bc36bb8 + 9ee2692 commit 3fafc15
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/helpers/parseFrameCtxZod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@ export const parseFrameCtxZod = (ctx: unknown, locale: LOCALE) => {
}),
})
.transform((v, ctx) => {
if (!v.isValid) {
ctx.addIssue({
code: z.ZodIssueCode.custom,
message: t`Invalid signature message`,
});
return z.NEVER;
}
if (!v.profileId && !v.requesterFid) {
ctx.addIssue({
code: z.ZodIssueCode.custom,
Expand Down

0 comments on commit 3fafc15

Please sign in to comment.