Show group address in group metadata

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-09-02 10:00:39 +02:00
parent 93728cb9d7
commit 952e592e2c
8 changed files with 61 additions and 28 deletions

View File

@@ -187,7 +187,7 @@ defmodule Mobilizon.Actors do
def get_actor_by_name_with_preload(name, type \\ nil) do
name
|> get_actor_by_name(type)
|> Repo.preload([:organized_events, :user])
|> Repo.preload([:organized_events, :user, :physical_address])
end
@doc """