Fix searching for persons

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-05-02 19:27:34 +02:00
parent 3afc7c7feb
commit 5afdd80c71
3 changed files with 9 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ defmodule Mobilizon.GraphQL.API.Search do
actor_type: [result_type],
radius: Map.get(args, :radius),
location: Map.get(args, :location),
minimum_visibility: :public
minimum_visibility: Map.get(args, :minimum_visibility, :public)
],
page,
limit