forked from AkkomaGang/akkoma
Apply 1 suggestion(s) to 1 file(s)
This commit is contained in:
parent
2597b028f7
commit
2aa60e7592
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue