fix 500 & fix json int

This commit is contained in:
jeffcheasey88 2023-09-09 20:33:52 +02:00
parent 12e0bd7bac
commit c4dcbbb977
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -76,7 +76,7 @@ public class MailConfirmation extends FormResponse {
return;
}
String email = (String) json.get("email");
int code = (int) json.get("code");
int code = ((Long)json.get("code")).intValue();
String pseudo = (String) json.get("pseudo");
String firstname = (String) json.get("firstname");
String lastname = (String) json.get("lastname");