Skip to content

Commit

Permalink
trim in class, not module
Browse files Browse the repository at this point in the history
  • Loading branch information
jtomchak committed Jan 29, 2024
1 parent 7709b78 commit 0beceaa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/lib/mammoth/status_origin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ def trending_follow_reason(status)
def trending_fof_reason(status)
Oj.dump({source: "FriendsOfFriends", originating_account_id: status.account[:id] })
end
end

# Find items from 1000 - end of the list
# Then del them
Expand All @@ -133,4 +132,7 @@ def trim(user)
p.del(keys_to_purge)
end
end

end

end

0 comments on commit 0beceaa

Please sign in to comment.