diff options
author | David Blajda <blajda@hotmail.com> | 2019-01-30 20:34:54 +0000 |
---|---|---|
committer | David Blajda <blajda@hotmail.com> | 2019-01-30 20:34:54 +0000 |
commit | 0a5892c67fb02e09a621ac8796ac84232935f5c3 (patch) | |
tree | 8a4210d6eff54b65fb10456eeaf485d92ae7e383 /src/helix/namespaces/auth.rs | |
parent | 7804ad5f3de94ce63ee0acef72b725275f5f658b (diff) |
Use ToString for endpoint params
Diffstat (limited to 'src/helix/namespaces/auth.rs')
-rw-r--r-- | src/helix/namespaces/auth.rs | 2 |
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) } } |