json-jwt icon indicating copy to clipboard operation
json-jwt copied to clipboard

Don't try to modify the passed in hash

Open ccutrer opened this issue 1 year ago • 0 comments

I was surprised when I was using a frozen hash (in specs) as claims that I was getting a FrozenError. So re-arrange the initializer to modify self instead of the passed in claims.

ccutrer avatar Aug 27 '24 19:08 ccutrer