Skip to content

Commit

Permalink
remove duplicate validator
Browse files Browse the repository at this point in the history
  • Loading branch information
inetol committed Oct 19, 2024
1 parent 4f1f8e1 commit 7529241
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/endpoints/v2/publish.route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,6 @@ export const publishRoute = (endpoint: OpenAPIHono): void => {
} else {
const nameLength = Number(headers.keylength || config.documentNameLengthDefault);

validator.validateNameLength(nameLength);

name = await StringUtils.createName(nameLength);
}

Expand Down

0 comments on commit 7529241

Please sign in to comment.