feat(global-search): Add option values in debug log before calling global search service

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-04-19 12:14:03 +02:00
parent 6b560b9f04
commit 8141bb0acb
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -32,7 +32,7 @@ defmodule Mobilizon.Service.GlobalSearch.SearchMobilizon do
"""
@spec search_events(keyword()) :: Page.t(EventResult.t())
def search_events(options \\ []) do
Logger.debug("Search events options, #{inspect(Keyword.keys(options))}")
Logger.debug("Search events options, #{inspect(Keyword.delete(options, :current_user))}")
options =
options