diff --git a/src/auth_passthrough.rs b/src/auth_passthrough.rs index fc0f6dc..07ce312 100644 --- a/src/auth_passthrough.rs +++ b/src/auth_passthrough.rs @@ -12,7 +12,7 @@ pub struct AuthPassthrough { impl AuthPassthrough { /// Initializes an AuthPassthrough. - pub fn new(query: &str, user: &str, password: &str) -> Self { + pub fn new(query: S, user: S, password: S) -> Self { AuthPassthrough { password: password.to_string(), query: query.to_string(),