From 6cdbb27169f20c6dd916de5ed83784efb1151c90 Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Sat, 17 Aug 2019 12:32:52 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20=E3=83=89=E3=83=A9=E3=82=A4=E3=83=96?= =?UTF-8?q?=E3=82=A2=E3=83=83=E3=83=97=E3=83=AD=E3=83=BC=E3=83=89=E7=9B=B4?= =?UTF-8?q?=E5=BE=8C=E3=81=AB=E5=8F=96=E5=BE=97=E3=81=A7=E3=81=8D=E3=82=8B?= =?UTF-8?q?URL=E3=81=8Coriginal=E3=81=98=E3=82=83=E3=81=AA=E3=81=84=20(#52?= =?UTF-8?q?74)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/services/drive/add-file.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/drive/add-file.ts b/src/services/drive/add-file.ts index 6acad3efad..0d038c3db2 100644 --- a/src/services/drive/add-file.ts +++ b/src/services/drive/add-file.ts @@ -460,7 +460,7 @@ export default async function( logger.succ(`drive file has been created ${file.id}`); - DriveFiles.pack(file).then(packedFile => { + DriveFiles.pack(file, { self: true }).then(packedFile => { // Publish driveFileCreated event publishMainStream(user.id, 'driveFileCreated', packedFile); publishDriveStream(user.id, 'fileCreated', packedFile);