Allow Symbol keyed Hash in LinkedDataSignature (#4715)
SerializarbleResource#as_json serializes to Symbol keyed Hash, but current implementation of LinkedDataSignature expects String keyed Hash. So it generates broken payload.lolsob-rspec
parent
94ba76455e
commit
8f561fb7bf
|
@ -6,7 +6,7 @@ class ActivityPub::LinkedDataSignature
|
|||
CONTEXT = 'https://w3id.org/identity/v1'
|
||||
|
||||
def initialize(json)
|
||||
@json = json
|
||||
@json = json.with_indifferent_access
|
||||
end
|
||||
|
||||
def verify_account!
|
||||
|
|
Loading…
Reference in New Issue