mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-25 04:53:06 +00:00
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 =
|
||||
cond do
|
||||
is_nil(params[:offset]) -> :keyset
|
||||
!Map.has_key?(params, :offset) -> :keyset
|
||||
true -> :offset
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue