Skip to content

Commit

Permalink
fix(Rest): with_count qs for get_invite/1
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceEEC committed Jun 17, 2018
1 parent 21d4cb9 commit d9c6a50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rest.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1709,7 +1709,7 @@ defmodule Crux.Rest do
"""
@spec get_invite(code :: String.t()) :: {:ok, Invite.t()} | {:error, term()}
def get_invite(code) do
Rest.Base.queue(:get, Endpoints.invite(code))
Rest.Base.queue(:get, Endpoints.invite(code), "", [], params: %{with_counts: true})
|> create(Invite)
end

Expand Down

0 comments on commit d9c6a50

Please sign in to comment.