summaryrefslogtreecommitdiff
path: root/src/helix/namespaces/auth.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/helix/namespaces/auth.rs')
-rw-r--r--src/helix/namespaces/auth.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helix/namespaces/auth.rs b/src/helix/namespaces/auth.rs
index 1900fbf..d006e2f 100644
--- a/src/helix/namespaces/auth.rs
+++ b/src/helix/namespaces/auth.rs
@@ -8,7 +8,7 @@ type AuthNamespace = Namespace<Auth>;
impl AuthNamespace {
pub fn client_credentials(self, secret: &str)
-> ApiRequest<Credentials> {
- auth::client_credentials(self.client.inner, secret)
+ auth::client_credentials(self.client.inner, &secret)
}
}