fix: test
This commit is contained in:
parent
a7b341495c
commit
ae00984038
|
|
@ -666,12 +666,8 @@ impl Client {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[instrument(level = "debug", skip_all, err)]
|
#[instrument(level = "debug", skip_all)]
|
||||||
pub async fn sign_out(&self) -> Result<(), AppResponseError> {
|
pub async fn sign_out(&self) -> Result<(), AppResponseError> {
|
||||||
if self.token.read().is_empty() {
|
|
||||||
return Ok(());
|
|
||||||
}
|
|
||||||
|
|
||||||
self.gotrue_client.logout(&self.access_token()?).await?;
|
self.gotrue_client.logout(&self.access_token()?).await?;
|
||||||
self.token.write().unset();
|
self.token.write().unset();
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue