diff options
author | Logan Hunt <loganhunt@simponic.xyz> | 2022-04-07 15:52:32 -0600 |
---|---|---|
committer | Logan Hunt <loganhunt@simponic.xyz> | 2022-04-07 15:52:32 -0600 |
commit | 55858eb9ca9d93c8ffa8fafd4c5d965b602326be (patch) | |
tree | f4e511ae8345abd2f96e3271fae3a085b4056001 /lib/aggiedit/accounts.ex | |
parent | ed22eb20f9f320d5ded4951c16fbb867b6883ce1 (diff) | |
download | aggiedit-55858eb9ca9d93c8ffa8fafd4c5d965b602326be.tar.gz aggiedit-55858eb9ca9d93c8ffa8fafd4c5d965b602326be.zip |
Attach upload, room, user to post
Diffstat (limited to 'lib/aggiedit/accounts.ex')
-rw-r--r-- | lib/aggiedit/accounts.ex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/aggiedit/accounts.ex b/lib/aggiedit/accounts.ex index 36dbd0c..1852393 100644 --- a/lib/aggiedit/accounts.ex +++ b/lib/aggiedit/accounts.ex @@ -247,6 +247,7 @@ defmodule Aggiedit.Accounts do def get_user_by_session_token(token) do {:ok, query} = UserToken.verify_session_token_query(token) Repo.one(query) + |> Repo.preload(:room) end @doc """ |