diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2019-02-23 16:26:50 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2019-02-23 16:26:50 +0100 |
commit | 85f2f37d779e70811fe6478514b92b76c80a69ce (patch) | |
tree | 1e7a6547c732533db737379aa75cc95eb23712aa | |
parent | 5c87f3368b174f8e8525f6a522fbaa07e03c98f5 (diff) | |
download | oslobike-85f2f37d779e70811fe6478514b92b76c80a69ce.tar.gz oslobike-85f2f37d779e70811fe6478514b92b76c80a69ce.tar.bz2 oslobike-85f2f37d779e70811fe6478514b92b76c80a69ce.zip |
Drop api_key from Api, not really needed.
-rw-r--r-- | src/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -25,7 +25,6 @@ fn url_for(endpoint: &str) -> String { } pub struct Api { - api_key: String, client: reqwest::Client, } @@ -38,7 +37,7 @@ impl Api { .default_headers(hdrs) .build().unwrap(); - Api { api_key, client } + Api { client } } pub fn stations(&self) -> String { |