Skip to content

Commit 9661ccb

Browse files
author
Artem
committed
fix max port validation
1 parent aec6614 commit 9661ccb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redisinsight/api/src/modules/database-import/dto/import.database.dto.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ export class ImportDatabaseDto extends PickType(Database, [
1414
@IsInt({ always: true })
1515
@Type(() => Number)
1616
@Min(0)
17-
@Max(65536)
17+
@Max(65535)
1818
port: number;
1919
}

0 commit comments

Comments
 (0)