Skip to content

Commit

Permalink
fix : import alias errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ad956 committed Jul 2, 2024
1 parent d349f4b commit 898b0eb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions app/api/auth/verifyotp/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,8 @@ async function checkOTP(body: bodyType, req: Request) {

return Response.json({ message: "ok" }, { status: 200 });
}

// retrieves a user from the database based on email and role
export async function getUserModel(email: string, role: string) {
async function getUserModel(email: string, role: string) {
const projection = {
_id: 0,
username: 1,
Expand Down
2 changes: 1 addition & 1 deletion app/api/payment/create-order/route.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { NextRequest } from "next/server";
import { razorpay } from "@/app/lib/razorpay";
import { razorpay } from "@lib/razorpay";

export async function POST(request: NextRequest) {
const { amount, currency } = (await request.json()) as {
Expand Down
2 changes: 1 addition & 1 deletion app/layouts/LandingPage/components/features/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Card } from "@nextui-org/react";
import { projectFeatures } from "@/app/utils/constants";
import { projectFeatures } from "@utils/constants";
import {
MdOutlineManageAccounts,
MdOutlineDocumentScanner,
Expand Down

0 comments on commit 898b0eb

Please sign in to comment.