Avoid deprecated function.

This commit is contained in:
Justus Winter 2023-11-29 13:43:48 +01:00
parent 544075bd86
commit f4f5f20e6e
No known key found for this signature in database
GPG Key ID: 686F55B4AB2B3386

View File

@ -177,7 +177,7 @@ mod integration {
// Export by user id.
let userid = String::from_utf8_lossy(
ua.userid().value()).into_owned();
let email = ua.userid().email().unwrap().unwrap();
let email = ua.userid().email2().unwrap().unwrap();
call(&["--userid", &userid], true, &[data]);
call(&["--userid", &email], false, &[]);