diff options
author | feld <feld@feld.me> | 2020-12-31 15:55:44 +0000 |
---|---|---|
committer | Mark Felder <feld@feld.me> | 2020-12-31 09:58:43 -0600 |
commit | 2aa60e7592104553fb5c330e8aafeaf4a21f1910 (patch) | |
tree | a7d1c49822a58fe9217d90d228a6ce580fa6e362 /lib | |
parent | 2597b028f797c74eb16e7cd5bfc251dfe03ad934 (diff) | |
download | pleroma-2aa60e7592104553fb5c330e8aafeaf4a21f1910.tar.gz |
Apply 1 suggestion(s) to 1 file(s)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/activity_pub/activity_pub.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index 68494f047..15f298bb8 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -605,7 +605,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do pagination_type = cond do - is_nil(params[:offset]) -> :keyset + !Map.has_key?(params, :offset) -> :keyset true -> :offset end |