From 0b98a2364b22d882df70a5829ef01eedc634cf94 Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Sat, 6 Oct 2018 20:36:11 +0900 Subject: [PATCH] =?UTF-8?q?Fix=20=E3=81=8A=E7=9F=A5=E3=82=89=E3=81=9B?= =?UTF-8?q?=E3=81=8C=E7=A2=BA=E8=AA=8D=E4=B8=AD...=E3=81=AE=E3=81=BE?= =?UTF-8?q?=E3=81=BE=E3=81=AB=E3=81=AA=E3=82=8B(Announcement=20Fetching...?= =?UTF-8?q?)=20(#2831)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/server/api/endpoints/meta.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/api/endpoints/meta.ts b/src/server/api/endpoints/meta.ts index 9baf3c252..c76d7f2e8 100644 --- a/src/server/api/endpoints/meta.ts +++ b/src/server/api/endpoints/meta.ts @@ -32,7 +32,7 @@ export default (params: any, me: ILocalUser) => new Promise(async (res, rej) => model: os.cpus()[0].model, cores: os.cpus().length }, - broadcasts: meta.broadcasts, + broadcasts: meta.broadcasts || [], disableRegistration: meta.disableRegistration, disableLocalTimeline: meta.disableLocalTimeline, driveCapacityPerLocalUserMb: config.localDriveCapacityMb,