Fix event online URL AP attachment

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-02-07 18:41:36 +01:00
parent 0587c90212
commit 18c8b7bc14
5 changed files with 70 additions and 11 deletions

View File

@@ -46,9 +46,6 @@ defmodule Mobilizon.GraphQL.Resolvers.Event do
end
def find_event(parent, %{uuid: uuid} = args, %{context: context} = resolution) do
require Logger
Logger.error(inspect(context))
with {:has_event, %Event{} = event} <-
{:has_event, Events.get_public_event_by_uuid_with_preload(uuid)},
{:access_valid, true} <-