From baa376d43636debb4b83b17b41625c61e41d4c80 Mon Sep 17 00:00:00 2001 From: longdayi <13477510+longdayilongdayi@user.noreply.gitee.com> Date: Wed, 4 Sep 2024 19:53:52 +0800 Subject: [PATCH] 09041953 --- apps/server/src/auth/auth.router.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/server/src/auth/auth.router.ts b/apps/server/src/auth/auth.router.ts index cd5e414..5be4d81 100644 --- a/apps/server/src/auth/auth.router.ts +++ b/apps/server/src/auth/auth.router.ts @@ -2,11 +2,9 @@ import { Injectable } from '@nestjs/common'; import { TrpcService } from '@server/trpc/trpc.service'; import { AuthService } from './auth.service'; import { AuthSchema } from '@nicestack/common'; - @Injectable() export class AuthRouter { constructor(private readonly trpc: TrpcService, private readonly authService: AuthService) { } - router = this.trpc.router({ login: this.trpc.procedure.input(AuthSchema.signInRequset).mutation(({ input }) => { return this.authService.signIn(input);