changed bcrypt libarary to bcryptjs

This commit is contained in:
2025-02-14 12:13:32 +05:30
parent 247b400707
commit a933c25f34
4 changed files with 10 additions and 380 deletions

View File

@@ -1,4 +1,4 @@
import bcrypt from "bcrypt";
import bcrypt from 'bcryptjs';
import { FastifyReply, FastifyRequest } from "fastify";
import { getToken } from "./tokens/token.service";
import { Claim } from "./utils/claims";

View File

@@ -1,4 +1,4 @@
import bcrypt from "bcrypt";
import bcrypt from 'bcryptjs';
import { generateId, generateToken } from "../utils/id";
import { CreateTokenInput, tokenModel } from "./token.schema";