From ed9f462dd5c13fa44ba7dfaf8bdeb5c3f6f4320a Mon Sep 17 00:00:00 2001 From: Max Audron Date: Fri, 22 Oct 2021 19:04:54 +0200 Subject: remove wolfram alpha url shortening --- src/hooks/wolfram_alpha.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { // Maybe only with is.gd though. quote_plus("e_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. -- cgit v1.2.3