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

client - wip user account page

This commit is contained in:
2018-01-11 23:59:56 -06:00
parent dc7149eb8b
commit 57663b802c
14 changed files with 303 additions and 19 deletions

View File

@@ -48,7 +48,7 @@ defmodule MyApp.Data.User do
defp get_user(battle_net_id) do
query = from u in "user",
where: u.battle_net_id == ^battle_net_id,
select: [:id, :permissions, :battle_net_id, :battletag]
select: [:id, :permissions, :battle_net_id, :battletag, :character_guild, :character_name, :character_class, :character_realm, :character_avatar]
Repo.one(query)
end