diff --git a/package.json b/package.json index a378f08568..2876f80311 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "misskey", "author": "syuilo ", - "version": "6.3.0", - "clientVersion": "1.0.8483", + "version": "6.3.2", + "clientVersion": "1.0.8498", "codename": "nighthike", "main": "./built/index.js", "private": true, diff --git a/src/server/api/private/signup.ts b/src/server/api/private/signup.ts index 2bf56a9791..79e5e6ec48 100644 --- a/src/server/api/private/signup.ts +++ b/src/server/api/private/signup.ts @@ -34,7 +34,7 @@ export default async (ctx: Koa.Context) => { const meta = await Meta.findOne({}); - if (meta.disableRegistration) { + if (meta && meta.disableRegistration) { if (invitationCode == null || typeof invitationCode != 'string') { ctx.status = 400; return;