From 0bac435c729b8d129eede9213b0019c4de512923 Mon Sep 17 00:00:00 2001 From: Cassie Tarakajian Date: Tue, 11 Jul 2017 11:51:56 -0400 Subject: [PATCH] debug asset migration --- server/migrations/s3UnderUser.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/migrations/s3UnderUser.js b/server/migrations/s3UnderUser.js index 107d524e..d56bd205 100644 --- a/server/migrations/s3UnderUser.js +++ b/server/migrations/s3UnderUser.js @@ -30,6 +30,7 @@ Project.find({}, (err, projects) => { const userId = project.user.valueOf(); project.files.forEach((file, fileIndex) => { if (file.url && file.url.includes(process.env.S3_BUCKET) && !file.url.includes(userId)) { + console.log(file.url); const key = file.url.split('/').pop(); console.log(key); const params = {