mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-05 22:26:07 +00:00
Fix json v1.8.6 common.rb warning
Using this patch https://github.com/flori/json/issues/399#issuecomment-734863279 We can upgrade to json v2 but to do that we need to switch from aws-sdk-v1 to aws-sdk-s3 first
This commit is contained in:
7
config/initializers/json.rb
Normal file
7
config/initializers/json.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
module JSON
|
||||
module_function
|
||||
|
||||
def parse(source, opts = {})
|
||||
Parser.new(source, **opts).parse
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user