Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: resolve sidekiq json-unsafe warning
Sidekiq 6.4 has started to log warnings (sidekiq/sidekiq#5071) if the job arguments are not strictly JSON-safe i.e. serializing to JSON and deserializing from JSON yield consistent outputs. To what it means, we cannot use a hash with symbol keys since doing the JSON rountrip will change them all to string keys. This fix will transform the hash argument with symbol keys to string keys so Sidekiq won't complain it (and break it starting version 7.0).
- Loading branch information