fix: compile for release mode

This commit is contained in:
Zack Fu Zi Xiang 2024-09-03 17:21:39 +08:00
parent 6c0c99aaaa
commit 292740ec58
No known key found for this signature in database
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()