Apply 1 suggestion(s) to 1 file(s)
This commit is contained in:
parent
2597b028f7
commit
2aa60e7592
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue