update,
This commit is contained in:
@@ -7,7 +7,6 @@ import prisma from '../../lib/prisma';
|
||||
export async function GET(req: NextRequest, res: NextResponse) {
|
||||
try {
|
||||
const users = await prisma.user.findMany();
|
||||
console.log({ users });
|
||||
|
||||
return response({ users }, STATUS.OK);
|
||||
} catch (error) {
|
||||
|
4
03_source/cms_backend/src/app/api/helloworld/test.http
Normal file
4
03_source/cms_backend/src/app/api/helloworld/test.http
Normal file
@@ -0,0 +1,4 @@
|
||||
###
|
||||
|
||||
GET http://localhost:7272/api/helloworld
|
||||
|
Reference in New Issue
Block a user