Fix processing keys from separate documents (#38407)
This commit is contained in:
parent
31abef8917
commit
19806be8ec
@ -289,8 +289,8 @@ class ActivityPub::ProcessAccountService < BaseService
|
||||
|
||||
next unless value['owner'] == @account.uri
|
||||
|
||||
value['publicKeyPem']
|
||||
{ type: :rsa, public_key: :key, uri: key_id }
|
||||
key = value['publicKeyPem']
|
||||
{ type: :rsa, public_key: key, uri: key_id }
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user