Add onceoff job to fix incorrect upload extensions.

This commit is contained in:
Guo Xiang Tan 2018-08-13 10:44:08 +08:00
parent a6820d8767
commit ba022234c6

View File

@ -0,0 +1,9 @@
require_dependency "upload_fixer"
module Jobs
class FixInvalidUploadExtensions < Jobs::Onceoff
def execute_onceoff(args)
UploadFixer.fix_all_extensions
end
end
end