forked from spacebar/rust-nex
guess who hardcoded the pid to 0 on accident? yours truly!
This commit is contained in:
parent
6f0e6c4516
commit
6e52e282a1
1 changed files with 2 additions and 2 deletions
|
|
@ -372,13 +372,13 @@ impl AccountManagement for FriendsGuest {
|
|||
principal_name,
|
||||
key: vec![],
|
||||
email,
|
||||
pid: 0,
|
||||
pid,
|
||||
};
|
||||
|
||||
let nexkey = client
|
||||
.create_new_sequential_or_update_and_get_account(new_account)
|
||||
.await
|
||||
.map_err(|_| ErrorCode::Core_Unknown)?
|
||||
.map_err(|e| {ErrorCode::Core_Unknown})?
|
||||
.into_inner();
|
||||
|
||||
if nexkey.key.len() != 16 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue