|
|
@ -50,7 +50,7 @@ async fn get_auth_push_token() -> ApiResult<String> { |
|
|
|
("client_secret", &client_secret), |
|
|
|
]; |
|
|
|
|
|
|
|
let res = match get_reqwest_client().post(CONFIG.push_identity_uri()).form(¶ms).send().await { |
|
|
|
let res = match get_reqwest_client().post(&format!("{}/connect/token", CONFIG.push_identity_uri())).form(¶ms).send().await { |
|
|
|
Ok(r) => r, |
|
|
|
Err(e) => err!(format!("Error getting push token from bitwarden server: {e}")), |
|
|
|
}; |
|
|
|