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);