Skip to content

Commit

Permalink
fix(Rest): remove incorrenct return in get_guild_ban
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceEEC committed May 15, 2018
1 parent 9df48a6 commit f0ad307
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/rest.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1356,7 +1356,6 @@ defmodule Crux.Rest do
case Rest.Base.queue(:get, Endpoints.guild_bans(guild_id, user_id)) do
{:ok, entry} ->
{:ok, Map.update!(entry, :user, &Structs.create(&1, User))}
{:error}

other ->
other
Expand Down

0 comments on commit f0ad307

Please sign in to comment.