fix: test

This commit is contained in:
nathan 2023-12-08 12:30:29 +08:00
parent a7b341495c
commit ae00984038
1 changed files with 1 additions and 5 deletions

View File

@ -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> {
if self.token.read().is_empty() {
return Ok(());
}
self.gotrue_client.logout(&self.access_token()?).await?;
self.token.write().unset();
Ok(())