Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
s39f4lt committed Jan 5, 2021
1 parent c0d78ef commit 8cc5097
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,11 @@ public Long createUser(User user) {
newUser.setLastName(user.getLastName());
newUser.setRate(0L);
newUser.setIsVerified(false);
defaultForm.setAgeFrom(0);
defaultForm.setAgeTo(0);
defaultForm.setRateFrom(0);
defaultForm.setRateTo(0);
defaultForm.setRadius(0);
defaultForm.setId(formService.createForm(defaultForm).getId());
formId = defaultForm.getId();
userMapper.createUser(newUser, defaultForm.getId());
Expand Down

0 comments on commit 8cc5097

Please sign in to comment.