summaryrefslogtreecommitdiff
path: root/crates/common/src/auth/oauth/token.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/common/src/auth/oauth/token.rs')
-rw-r--r--crates/common/src/auth/oauth/token.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/common/src/auth/oauth/token.rs b/crates/common/src/auth/oauth/token.rs
index ec6cb946..410487ea 100644
--- a/crates/common/src/auth/oauth/token.rs
+++ b/crates/common/src/auth/oauth/token.rs
@@ -55,7 +55,7 @@ impl Server {
String::new()
};
- let key = &self.core.jmap.oauth_key;
+ let key = &self.core.oauth.oauth_key;
let context = format!(
"{} {} {} {}",
grant_type.as_str(),
@@ -165,7 +165,7 @@ impl Server {
};
// Build context
- let key = self.core.jmap.oauth_key.clone();
+ let key = self.core.oauth.oauth_key.clone();
let context = format!(
"{} {} {} {}",
grant_type.as_str(),