mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-18 00:17:25 +00:00
Merge pull request #12525 from mkllnk/fdc-import
Add compatibility to the DFC product import for FDC (Shopify) API
This commit is contained in:
@@ -40,4 +40,9 @@ VCR.configure do |config|
|
||||
config.filter_sensitive_data('<HIDDEN-OPENID-TOKEN>') { |interaction|
|
||||
interaction.response.body.match(/"refresh_token":"([^"]+)"/)&.public_send(:[], 1)
|
||||
}
|
||||
|
||||
# FDC specific parameter:
|
||||
config.filter_sensitive_data('<HIDDEN-OPENID-TOKEN>') { |interaction|
|
||||
interaction.request.body.match(/"accessToken":"([^"]+)"/)&.public_send(:[], 1)
|
||||
}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user