Add number type to registration failure func
This commit is contained in:
parent
dbf58a9f09
commit
2e24c78c5d
|
|
@ -65,7 +65,7 @@ export function Register() {
|
|||
);
|
||||
}
|
||||
|
||||
function getHelpfulReasonForRegistrationFailure(httpCode: int) {
|
||||
function getHelpfulReasonForRegistrationFailure(httpCode: number) {
|
||||
switch (httpCode) {
|
||||
case 400:
|
||||
return 'Email already exists';
|
||||
|
|
|
|||
Loading…
Reference in New Issue