This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Fix RedownloadMediaWorker (
#13741
)
master
Takeshi Umeda
4 years ago
committed by
GitHub
parent
af6d356279
commit
706972b4ba
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/workers/redownload_media_worker.rb
+ 1
- 1
app/workers/redownload_media_worker.rb
View File
@ -11,7 +11,7 @@ class RedownloadMediaWorker
return
if
media_attachment
.
remote_url
.
blank?
media_attachment
.
reset_file!
media_attachment
.
file_remote_url
=
media_attachment
.
remote_url
media_attachment
.
save
rescue
ActiveRecord
::
RecordNotFound
true
Write
Preview
Loading…
Cancel
Save