updated accounts service navigator

This commit is contained in:
2025-08-03 18:23:26 +03:00
parent 1b87dee60d
commit aa8f0b8f31
24 changed files with 398 additions and 211 deletions

View File

@@ -1,6 +1,6 @@
import { userCreatePasswordValidator } from './dtoValidator';
import { PrismaService } from '@/src/prisma.service';
import { PasswordHandlers } from '@/src/utils/auth/login_handler';
import { PasswordHandlers } from '@/src/utils/auth/loginHandler';
import { Injectable, BadRequestException } from '@nestjs/common';
@Injectable()
@@ -8,7 +8,7 @@ export class CreatePasswordService {
constructor(
private readonly prisma: PrismaService,
private readonly passHandlers: PasswordHandlers,
) {}
) { }
async run(dto: userCreatePasswordValidator) {
if (dto.password !== dto.rePassword) {