Commit 1add17f7 authored by Peter van der meulen's avatar Peter van der meulen

Fix typo

parent b8c236a0
......@@ -177,7 +177,7 @@ defmodule SnugglesApp.Accounts do
user = Repo.get_by(User, discord_id: Integer.to_string(object["author_id"]))
corp = case user do
nil -> Repo.get_by(Corporation, discord_guild_id: Integer.to_string(object["guild_id"]))
_ -> Repo.get_by(Corporation, eve_corp_id: user.eve_corp_id)
_ -> Repo.get_by(Corporation, eve_corp_id: user.corp_id)
end
cond do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment