Skip to content

Commit

Permalink
Update portPublicationSchema.ts (#996)
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-20 authored Jan 18, 2025
1 parent 1aacb0b commit cbeb1b2
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,6 @@ export const portPublicationSchema = v.pipe(
),
['internetPort'],
),
v.forward(
v.partialCheck(
[['applicationPort'], ['protocol']],
(input) => isValidPort(input.applicationPort, input.protocol),
'Please enter the available port',
),
['applicationPort'],
),
)

export type PortPublicationInput = v.InferInput<typeof portPublicationSchema>
Expand Down

0 comments on commit cbeb1b2

Please sign in to comment.