fix(services): 🐛 CredentialService missing namespace
This commit is contained in:
parent
3fe395cccf
commit
1f984f4392
@ -13,4 +13,11 @@ export async function comparePassword(password: string, hash: string) {
|
||||
secret: Buffer.from(`${process.env["HASH_SECRET"]}`),
|
||||
algorithm: 2
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
const CredentialService = {
|
||||
compare: comparePassword,
|
||||
hash: getHashFromPassword,
|
||||
}
|
||||
|
||||
export default CredentialService;
|
Loading…
x
Reference in New Issue
Block a user