凍結されたユーザーが含まれている場合一部の機能が誤動作する不具合を修正 (MisskeyIO#161)

z-6561
This commit is contained in:
まっちゃとーにゅ
2023-09-03 23:20:18 +09:00
committed by GitHub
parent 58bbff3738
commit 545ab80363
5 changed files with 20 additions and 6 deletions

View File

@@ -55,7 +55,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> {
folderId: ps.folderId ?? IsNull(),
});
return await Promise.all(files.map(file => this.driveFileEntityService.pack(file, me, { self: true })));
return await this.driveFileEntityService.packMany(files, me, { self: true });
});
}
}