From 874f019b304cb8c417af111efb4b2a05fe82a055 Mon Sep 17 00:00:00 2001 From: 4sterisk <4sterisk@ymail.ne.jp> Date: Tue, 3 Sep 2024 04:41:02 +0900 Subject: [PATCH] =?UTF-8?q?meta=E3=81=A7maxFileSize=E3=82=92=E9=9D=9E?= =?UTF-8?q?=E8=A1=A8=E7=A4=BA=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/backend/src/core/entities/MetaEntityService.ts | 1 - packages/backend/src/models/json-schema/meta.ts | 4 ---- 2 files changed, 5 deletions(-) diff --git a/packages/backend/src/core/entities/MetaEntityService.ts b/packages/backend/src/core/entities/MetaEntityService.ts index f4b1e302d0f8..44ec0d6a7bc1 100644 --- a/packages/backend/src/core/entities/MetaEntityService.ts +++ b/packages/backend/src/core/entities/MetaEntityService.ts @@ -129,7 +129,6 @@ export class MetaEntityService { mediaProxy: this.config.mediaProxy, enableUrlPreview: instance.urlPreviewEnabled, noteSearchableScope: (this.config.meilisearch == null || this.config.meilisearch.scope !== 'local') ? 'global' : 'local', - maxFileSize: this.config.maxFileSize, }; return packed; diff --git a/packages/backend/src/models/json-schema/meta.ts b/packages/backend/src/models/json-schema/meta.ts index 99feeaa7d757..3bcf9cac92d2 100644 --- a/packages/backend/src/models/json-schema/meta.ts +++ b/packages/backend/src/models/json-schema/meta.ts @@ -253,10 +253,6 @@ export const packedMetaLiteSchema = { optional: false, nullable: false, default: 'local', }, - maxFileSize: { - type: 'number', - optional: false, nullable: false, - }, }, } as const;