fix: replace bcrypt with bcryptjs for improved compatibility

This commit is contained in:
ilhamtahir committed 2025-02-17 08:17:51 +08:00
1 parent 99a37cd2ff
commit 95af6110ac
4 files changed
+10 -219

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ import { Injectable, UnauthorizedException } from '@nestjs/common';
import { UserService } from './user.service';
import { JwtService } from '@nestjs/jwt';
import { CreateTokenRequest } from '../dto/create-token.request';
import * as bcrypt from 'bcrypt';
import * as bcrypt from 'bcryptjs';
import { TokenVo } from '../vo/token.vo';
import { JWT_SECRET } from '../constants/jwt';
import { User } from '../entity/user.entity';