diff options
author | Starfall <root@starfall.blue> | 2020-02-13 17:55:53 -0600 |
---|---|---|
committer | Starfall <root@starfall.blue> | 2020-02-13 17:55:53 -0600 |
commit | 5902299384d15249fe4b84b8761d4a49f3c7f6fd (patch) | |
tree | 66f1db08a2f6f9ae2254ba7a81b71835039d671e /app/models | |
parent | 6d24d3bcb84abd04f31da95f97f6d60ef0afdc00 (diff) | |
parent | 0cbd6d696b8937066cde297ad2eae4b558353b7c (diff) |
Merge branch 'glitch'
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/concerns/remotable.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/remotable.rb b/app/models/concerns/remotable.rb index b7a476c87..c728a460e 100644 --- a/app/models/concerns/remotable.rb +++ b/app/models/concerns/remotable.rb @@ -36,8 +36,8 @@ module Remotable basename = SecureRandom.hex(8) - send("#{attachment_name}=", StringIO.new(response.body_with_limit(limit))) send("#{attachment_name}_file_name=", basename + extname) + send("#{attachment_name}=", StringIO.new(response.body_with_limit(limit))) self[attribute_name] = url if has_attribute?(attribute_name) end |