From 161da24841ea280bf90748ceca7d6d36fc350292 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 13 Jan 2023 17:59:40 +0900 Subject: [PATCH] fix(server): signup-complete Broken Fix #9538 --- packages/backend/src/server/api/SignupApiService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/backend/src/server/api/SignupApiService.ts b/packages/backend/src/server/api/SignupApiService.ts index bba81250a..4b676bb8b 100644 --- a/packages/backend/src/server/api/SignupApiService.ts +++ b/packages/backend/src/server/api/SignupApiService.ts @@ -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); }