Skip to content

Commit

Permalink
fix template name update
Browse files Browse the repository at this point in the history
  • Loading branch information
constantgillet committed Apr 23, 2024
1 parent 25a9f85 commit 05dfb41
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/routes/api.update-template-name.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ export const editTemplateNamevalidator = withZod(
.min(1, { message: "Template name is required" })
.max(100, {
message: "Template name can't be longer than 100 characters",
})
.regex(/^[a-zA-Z0-9_.-]*$/, {
message:
"Template name can only contain letters, numbers, and the characters . _ -",
}),
})
);
Expand Down

0 comments on commit 05dfb41

Please sign in to comment.