remove unessecary file

This commit is contained in:
Sara
2023-10-31 19:23:34 +01:00
committed by Mathieu Virbel
parent 4a69bffc9c
commit 6d5c042548

View File

@@ -1,10 +0,0 @@
import { NextApiRequest } from "next";
import { fief, getFiefAuth } from "../../lib/fief";
// type FiefNextApiHandler<T> = (req: NextApiRequest & AuthenticateRequestResult, res: NextApiResponse<T>) => unknown | Promise<unknown>;
export default (req: any, res) => {
const domain = req.url;
console.log("user", req.url, getFiefAuth("localhost").currentUser());
return getFiefAuth("localhost").currentUser()(req, res);
};
// export default fief.currentUser()