aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMax Audron <audron@cocaine.farm>2021-10-22 19:04:54 +0200
committerMax Audron <audron@cocaine.farm>2021-10-22 19:04:54 +0200
commited9f462dd5c13fa44ba7dfaf8bdeb5c3f6f4320a (patch)
tree88cf83ea6019abb15d35576238a4e046b1fb1cf5 /src
parentremove failing wolfram alpha test cases (diff)
remove wolfram alpha url shortening
Diffstat (limited to 'src')
-rw-r--r--src/hooks/wolfram_alpha.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hooks/wolfram_alpha.rs b/src/hooks/wolfram_alpha.rs
index 93e50bd..cdd32ca 100644
--- a/src/hooks/wolfram_alpha.rs
+++ b/src/hooks/wolfram_alpha.rs
@@ -130,7 +130,8 @@ async fn get_wa_user_short_url(input: &str) -> Result<String, Error> {
// Maybe only with is.gd though.
quote_plus(&quote_plus(input)?)?
);
- IsgdUrlShortener::new().shorten(&user_url).await
+ // Isgd::shorten(&user_url).await
+ Ok(user_url)
}
/// Sends a request to the Wolfram Alpha API, returns a plain text response.