1
0
mirror of https://github.com/mgerb/classic-wow-forums synced 2026-01-11 17:42:48 +00:00

server/client - eu support for fetching characters

This commit is contained in:
2018-01-26 22:41:35 -06:00
parent ce151bc0c0
commit 7344bb428a
7 changed files with 51 additions and 51 deletions

View File

@@ -34,22 +34,6 @@ defmodule MyAppWeb.ThreadController do
|> Response.json(output)
end
@spec update(map, map) :: any
def update(conn, params) do
user_id = conn
|> MyApp.Guardian.Plug.current_claims
|> Map.get("id")
{output, status} = params
|> Map.put("user_id", user_id)
|> Data.Thread.user_update
|> Response.put_resp
conn
|> put_status(status)
|> Response.json(output)
end
@spec get_collection(map, map) :: any
def get_collection(conn, params) do