mirror of https://github.com/halo-dev/halo
typo fix
parent
0e1163ea66
commit
47c5db4d2c
|
@ -75,7 +75,7 @@ public class UserServiceImpl extends AbstractCrudService<User, Integer> implemen
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public User getByUsernameOfNonNull(String username) {
|
public User getByUsernameOfNonNull(String username) {
|
||||||
return getByUsername(username).orElseThrow(() -> new NotFoundException("The username dose not exist").setErrorData(username));
|
return getByUsername(username).orElseThrow(() -> new NotFoundException("The username does not exist").setErrorData(username));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -85,7 +85,7 @@ public class UserServiceImpl extends AbstractCrudService<User, Integer> implemen
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public User getByEmailOfNonNull(String email) {
|
public User getByEmailOfNonNull(String email) {
|
||||||
return getByEmail(email).orElseThrow(() -> new NotFoundException("The email dose not exist").setErrorData(email));
|
return getByEmail(email).orElseThrow(() -> new NotFoundException("The email does not exist").setErrorData(email));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue