Skip to content

Commit 97a2145

Browse files
committed
update controller link
1 parent ec8ce52 commit 97a2145

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/controllers/userController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//@ts-nocheck
22
import { NextApiRequest, NextApiResponse } from 'next'
3-
import UserModel, { IEvent } from '../models/eventModel'
3+
import UserModel, { IEvent } from '../models/userModel'
44
import mongoose from 'mongoose'
55

66
export const getUser = async (req: NextApiRequest, res: NextApiResponse) => {

0 commit comments

Comments
 (0)