Merge pull request #785 from AppFlowy-IO/fix/release-compile

fix: compile for release mode
This commit is contained in:
Zack 2024-09-03 17:30:53 +08:00 committed by GitHub
commit 72652086f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -785,7 +785,7 @@ impl Client {
#[instrument(level = "info", skip_all, err)]
pub async fn delete_user(&self) -> Result<(), AppResponseError> {
let (provider_access_token, provider_refresh_token) = {
let token = self.token();
let token = &self.token;
let token_read = token.read();
let token_resp = token_read
.as_ref()