Apply 1 suggestion(s) to 1 file(s)

This commit is contained in:
feld 2020-12-31 15:55:44 +00:00 committed by Mark Felder
parent 2597b028f7
commit 2aa60e7592
1 changed files with 1 additions and 1 deletions

View File

@ -605,7 +605,7 @@ def fetch_user_activities(user, reading_user, params \\ %{}) do
pagination_type = pagination_type =
cond do cond do
is_nil(params[:offset]) -> :keyset !Map.has_key?(params, :offset) -> :keyset
true -> :offset true -> :offset
end end