mirror of https://github.com/LemmyNet/lemmy.git
remove unwrap
parent
c199215355
commit
e43bc677b5
|
@ -230,7 +230,7 @@ impl PerformCrud for Register {
|
||||||
send_verification_email(
|
send_verification_email(
|
||||||
inserted_local_user.id,
|
inserted_local_user.id,
|
||||||
// we check at the beginning of this method that email is set
|
// we check at the beginning of this method that email is set
|
||||||
&inserted_local_user.email.unwrap(),
|
&inserted_local_user.email.expect("email was provided"),
|
||||||
&inserted_person.name,
|
&inserted_person.name,
|
||||||
context,
|
context,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue