1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-12 13:48:28 +09:00
This commit is contained in:
syuilo 2018-08-18 03:52:46 +09:00
commit c35e760fd3
2 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
{
"name": "misskey",
"author": "syuilo <i@syuilo.com>",
"version": "6.3.0",
"clientVersion": "1.0.8483",
"version": "6.3.2",
"clientVersion": "1.0.8498",
"codename": "nighthike",
"main": "./built/index.js",
"private": true,

View File

@ -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;