From fe570fe16be41b8413a9f0afc2a9cd20f3fe3481 Mon Sep 17 00:00:00 2001
From: syuilo <Syuilotan@yahoo.co.jp>
Date: Sun, 24 Sep 2023 16:45:36 +0900
Subject: [PATCH] Update DriveService.ts

---
 packages/backend/src/core/DriveService.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/backend/src/core/DriveService.ts b/packages/backend/src/core/DriveService.ts
index 891be4611d..366205f586 100644
--- a/packages/backend/src/core/DriveService.ts
+++ b/packages/backend/src/core/DriveService.ts
@@ -677,7 +677,7 @@ export class DriveService {
 
 		await this.driveFilesRepository.update(file.id, values);
 
-		const fileObj = await this.driveFileEntityService.pack(file, { self: true });
+		const fileObj = await this.driveFileEntityService.pack(file.id, { self: true });
 
 		// Publish fileUpdated event
 		if (file.userId) {