diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-19 09:12:00 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-19 09:12:29 +0100 |
commit | 0542773bca804868c8e4b45fe08f6041cb1b5851 (patch) | |
tree | faced5b2e24aa89c8ab773bf9caabc0394454a95 /app/views | |
parent | 6b67b55cee5d3adda87b3990e54bdd7fefee1ef6 (diff) |
Make unfavouriting async to prevent timeout errors from leaving orphaned records behind
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/api/oembed/show.json.rabl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/api/oembed/show.json.rabl b/app/views/api/oembed/show.json.rabl index f33b70ee5..311c02dad 100644 --- a/app/views/api/oembed/show.json.rabl +++ b/app/views/api/oembed/show.json.rabl @@ -11,4 +11,4 @@ node(:provider_url) { root_url } node(:cache_age) { 86_400 } node(:html) { |entry| "<iframe src=\"#{embed_account_stream_entry_url(entry.account, entry)}\" style=\"width: 100%; overflow: hidden\" frameborder=\"0\" width=\"#{@width}\" height=\"#{@height}\" scrolling=\"no\"></iframe>" } node(:width) { @width } -node(:height) { nil } +node(:height) { @height } |