remove unnecessary slash

master
Paul Woolcock 6 years ago
parent 01704d7169
commit a647d47b57
  1. 2
      src/lib.rs

@ -604,7 +604,7 @@ impl Mastodon {
let mut url = format!("{}/api/v1/accounts/{}/statuses", self.base, id); let mut url = format!("{}/api/v1/accounts/{}/statuses", self.base, id);
if let Some(request) = request.into() { if let Some(request) = request.into() {
url = format!("{}/{}", url, request.to_querystring()); url = format!("{}{}", url, request.to_querystring());
} }
let response = self.client.get(&url) let response = self.client.get(&url)

Loading…
Cancel
Save