Add number type to registration failure func

This commit is contained in:
jamesread 2024-09-24 00:55:34 +00:00
parent dbf58a9f09
commit 2e24c78c5d
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ export function Register() {
);
}
function getHelpfulReasonForRegistrationFailure(httpCode: int) {
function getHelpfulReasonForRegistrationFailure(httpCode: number) {
switch (httpCode) {
case 400:
return 'Email already exists';