Skip to content

Commit 313e4ba

Browse files
committed
build fail
1 parent 380a7a4 commit 313e4ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/api/hash.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { connectToDatabase } from "../../lib/mongo";
22
import { hash, genSalt, compare } from "bcryptjs";
33

4-
export default async function hash(req, res) {
4+
export default async function hashPassword(req, res) {
55
const { db } = await connectToDatabase();
66

77
const { id, password } = req.body;

0 commit comments

Comments
 (0)