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

View File

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