Skip to content

Commit 16233ce

Browse files
committed
Increase callsign max length to 20 characters
1 parent 833ab97 commit 16233ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/api/src/validation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export function validateICAO(icao: any): string {
2828
}
2929

3030
export function validateCallsign(callsign: any): string {
31-
const validated = validateString(callsign, "Callsign", 1, 10);
31+
const validated = validateString(callsign, "Callsign", 1, 20);
3232
if (!/^[A-Z0-9_]+$/.test(validated)) {
3333
throw { status: 400, message: "Callsign must contain only uppercase letters, numbers, and underscores" };
3434
}

0 commit comments

Comments
 (0)