diff --git a/src/server/api/endpoints/meta.ts b/src/server/api/endpoints/meta.ts index 9baf3c252f..c76d7f2e8f 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,