mirror of
https://github.com/TheRealOwenRees/plantid-discord-bot.git
synced 2026-07-22 20:16:57 +00:00
hotfix for get requests
This commit is contained in:
@@ -74,7 +74,7 @@ defmodule PlantIdDiscordBot.Cog.PlantNetMessage do
|
||||
guild_id = message.guild_id
|
||||
{:ok, %{name: guild_name}} = GuildCache.get(guild_id)
|
||||
|
||||
case HTTPoison.get!(query_uri) do
|
||||
case HTTPoison.get(query_uri) do
|
||||
{:ok, %HTTPoison.Response{status_code: 200, body: body}} ->
|
||||
response_message = Parser.parse(body)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user