mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 19:43:44 +08:00
461a2c334b
* FIX: return an empty result if response from Amazon is missing attributes Check we have the basic attributes requires to construct a Onebox for Amazon. This is an attempt to handle scenarios where we receive a valid 200-status response from an Amazon request that does not include the data we’re expecting. * Update lib/onebox/engine/amazon_onebox.rb Co-authored-by: Régis Hanol <regis@hanol.fr> Co-authored-by: Régis Hanol <regis@hanol.fr> |
||
---|---|---|
.. | ||
engine | ||
mixins | ||
templates | ||
discourse_onebox_sanitize_config.rb | ||
engine.rb | ||
file_type_finder.rb | ||
helpers.rb | ||
layout_support.rb | ||
layout.rb | ||
matcher.rb | ||
oembed.rb | ||
open_graph.rb | ||
preview.rb | ||
sanitize_config.rb | ||
status_check.rb | ||
template_support.rb | ||
view.rb |