diff --git a/src/server/api/endpoints/notes/create.ts b/src/server/api/endpoints/notes/create.ts index 83649015d8..994dfb4dca 100644 --- a/src/server/api/endpoints/notes/create.ts +++ b/src/server/api/endpoints/notes/create.ts @@ -238,8 +238,6 @@ export default define(meta, async (ps, user, app) => { userId: user.id }) ))).filter(file => file != null) as DriveFile[]; - - files = files; } let renote: Note | undefined;