1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-23 14:46:40 +09:00

fix(server): signup-complete Broken

Fix #9538
This commit is contained in:
syuilo 2023-01-13 17:59:40 +09:00
parent 6e40024660
commit 161da24841

View File

@ -12,8 +12,8 @@ import { UserEntityService } from '@/core/entities/UserEntityService.js';
import { EmailService } from '@/core/EmailService.js';
import { ILocalUser } from '@/models/entities/User.js';
import { FastifyReplyError } from '@/misc/fastify-reply-error.js';
import { SigninService } from './SigninService.js';
import { bindThis } from '@/decorators.js';
import { SigninService } from './SigninService.js';
import type { FastifyRequest, FastifyReply } from 'fastify';
@Injectable()
@ -193,7 +193,7 @@ export class SignupApiService {
emailVerifyCode: null,
});
this.signinService.signin(request, reply, account as ILocalUser);
return this.signinService.signin(request, reply, account as ILocalUser);
} catch (err) {
throw new FastifyReplyError(400, err);
}