From 8141bb0acbc4eb02a917c5bc18712d0d954c4ee5 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 19 Apr 2023 12:14:03 +0200 Subject: [PATCH] feat(global-search): Add option values in debug log before calling global search service Signed-off-by: Thomas Citharel --- lib/service/global_search/search_mobilizon.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/service/global_search/search_mobilizon.ex b/lib/service/global_search/search_mobilizon.ex index 8850f790c..8cd8fe00c 100644 --- a/lib/service/global_search/search_mobilizon.ex +++ b/lib/service/global_search/search_mobilizon.ex @@ -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