From 0a5892c67fb02e09a621ac8796ac84232935f5c3 Mon Sep 17 00:00:00 2001 From: David Blajda Date: Wed, 30 Jan 2019 20:34:54 +0000 Subject: Use ToString for endpoint params --- src/helix/namespaces/auth.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/helix/namespaces/auth.rs') 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; impl AuthNamespace { pub fn client_credentials(self, secret: &str) -> ApiRequest { - auth::client_credentials(self.client.inner, secret) + auth::client_credentials(self.client.inner, &secret) } } -- cgit v1.2.3