diff options
Diffstat (limited to 'src/hooks/wolfram_alpha.rs')
| -rw-r--r-- | src/hooks/wolfram_alpha.rs | 3 |
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("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. |
