fix: fix.env.example
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import bcrypt from "bcrypt";
|
||||
|
||||
export const hashPassword = async (password: string): Promise<string> => {
|
||||
const saltRounds = Number(process.env.SALT_ROUNDS);
|
||||
return await bcrypt.hash(password, saltRounds);
|
||||
};
|
||||
import bcrypt from "bcrypt";
|
||||
|
||||
export const hashPassword = async (password: string): Promise<string> => {
|
||||
const saltRounds = Number(process.env.SALT_ROUNDS);
|
||||
return await bcrypt.hash(password, saltRounds);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user