From 292740ec58557c3e84b7c67c599f7133aca4bc55 Mon Sep 17 00:00:00 2001 From: Zack Fu Zi Xiang Date: Tue, 3 Sep 2024 17:21:39 +0800 Subject: [PATCH] fix: compile for release mode --- libs/client-api/src/http.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/client-api/src/http.rs b/libs/client-api/src/http.rs index 7d3b7b088..2f4b55719 100644 --- a/libs/client-api/src/http.rs +++ b/libs/client-api/src/http.rs @@ -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()