diff options
| author | Max Audron <audron@cocaine.farm> | 2021-10-22 19:04:54 +0200 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2021-10-22 19:04:54 +0200 |
| commit | ed9f462dd5c13fa44ba7dfaf8bdeb5c3f6f4320a (patch) | |
| tree | 88cf83ea6019abb15d35576238a4e046b1fb1cf5 /src | |
| parent | remove failing wolfram alpha test cases (diff) | |
remove wolfram alpha url shortening
Diffstat (limited to 'src')
| -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. |
