Skip to content

Commit

Permalink
public_key no longer exists
Browse files Browse the repository at this point in the history
  • Loading branch information
jtomchak committed Dec 18, 2023
1 parent 627ac66 commit b880e00
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/lib/mammoth/status_origin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,8 @@ def add_reason(key, reason)
end

def find(status_id, acct = nil)
public_list_key = key(status_id)
personal_list_key = key(acct, status_id)
results = redis.sunion([public_list_key, personal_list_key]).map { |o|
results = redis.smembers(personal_list_key).map { |o|
payload = Oj.load(o, symbol_keys: true)

originating_account = Account.find(payload[:originating_account_id])
Expand Down

0 comments on commit b880e00

Please sign in to comment.