summaryrefslogtreecommitdiffstats
path: root/src/stackexchange/api.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/stackexchange/api.rs')
-rw-r--r--src/stackexchange/api.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stackexchange/api.rs b/src/stackexchange/api.rs
index c9b69b4..cf326f2 100644
--- a/src/stackexchange/api.rs
+++ b/src/stackexchange/api.rs
@@ -153,7 +153,7 @@ impl Api {
params.insert("filter", SE_FILTER);
params.insert("page", "1");
if let Some(key) = &self.api_key {
- params.insert("key", &key);
+ params.insert("key", key);
}
params
}