Skip to content
Snippets Groups Projects
Commit f095a9f8 authored by unarist's avatar unarist Committed by Eugen Rochko
Browse files

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.
parent 0d5d11ee
No related branches found
No related tags found
No related merge requests found
......@@ -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!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment