DEV: Fix undefined variable.

Follow up to e8fafbc123.
This commit is contained in:
Guo Xiang Tan 2019-05-16 11:28:38 +08:00
parent 76173dea87
commit dd49be27d3

View File

@ -84,7 +84,8 @@ class S3Inventory
if result.count >= 1
key = result[0]["key"]
data = s3_helper.object(key).data
data = @s3_helper.object(key).data
upload_id = Upload.create!(
user_id: Discourse.system_user.id,
original_filename: "",