fix upload preprocessing for pixiv posts

fixes #3782
This commit is contained in:
Albert Yi
2018-07-23 16:24:21 -07:00
parent cc7a66438f
commit f6440ca70d
3 changed files with 21 additions and 10 deletions

View File

@@ -103,9 +103,9 @@ class StorageManager::Match < StorageManager
end
end
def file_path(post, type, **options)
def file_path(post, file_ext, type, **options)
find(id: post.id, type: type) do |manager|
manager.file_path(post, type, **options)
manager.file_path(post, file_ext, type, **options)
end
end
end