case harmonization with other fields

- longevents -> long_events (back-end)
- longevents -> longEvents (front-end)
This commit is contained in:
Massedil
2024-11-21 20:12:20 +01:00
committed by setop
parent 91b0e7d265
commit 71c0ce37a9
10 changed files with 28 additions and 28 deletions

View File

@@ -76,7 +76,7 @@ defmodule Mobilizon.GraphQL.Resolvers.Event do
limit: limit,
order_by: order_by,
direction: direction,
longevents: longevents,
long_events: long_events,
location: location,
radius: radius
},
@@ -84,7 +84,7 @@ defmodule Mobilizon.GraphQL.Resolvers.Event do
)
when limit < @event_max_limit do
{:ok,
Events.list_events(page, limit, order_by, direction, true, longevents, location, radius)}
Events.list_events(page, limit, order_by, direction, true, long_events, location, radius)}
end
def list_events(