diff options
author | Jesse Luehrs <doy@tozt.net> | 2023-02-18 16:00:14 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2023-02-18 17:42:27 -0500 |
commit | 070955637030076aca30a9afcba95603a4394abc (patch) | |
tree | a8f4952ac9f79c048c07bd438be5405ad2c41d63 /src/api.rs | |
parent | 1d68b717e8ae12dfdf8af9c451dbf0d6a8cc6d71 (diff) | |
download | rbw-070955637030076aca30a9afcba95603a4394abc.tar.gz rbw-070955637030076aca30a9afcba95603a4394abc.zip |
bump deps
Diffstat (limited to 'src/api.rs')
-rw-r--r-- | src/api.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -653,7 +653,7 @@ impl Client { let connect_req = ConnectPasswordReq { grant_type: "password".to_string(), username: email.to_string(), - password: Some(base64::encode(password_hash.hash())), + password: Some(crate::base64::encode(password_hash.hash())), scope: "api offline_access".to_string(), client_id: "desktop".to_string(), client_secret: None, @@ -674,7 +674,7 @@ impl Client { .form(&connect_req) .header( "auth-email", - base64::encode_config(email, base64::URL_SAFE_NO_PAD), + crate::base64::encode_url_safe_no_pad(email), ) .send() .await |