enzostvs HF staff commited on
Commit
e185da6
·
1 Parent(s): b857757
Files changed (1) hide show
  1. app/api/logo/route.ts +11 -10
app/api/logo/route.ts CHANGED
@@ -1,14 +1,15 @@
1
  import prisma from "@/_utils/prisma";
2
 
3
  export async function GET() {
4
- const images = await prisma.logo.findMany({
5
- select: {
6
- id: true,
7
- },
8
- take: 24,
9
- orderBy: {
10
- id: "desc",
11
- },
12
- });
13
- return Response.json(images.map((image) => image.id));
 
14
  }
 
1
  import prisma from "@/_utils/prisma";
2
 
3
  export async function GET() {
4
+ // const images = await prisma.logo.findMany({
5
+ // select: {
6
+ // id: true,
7
+ // },
8
+ // take: 24,
9
+ // orderBy: {
10
+ // id: "desc",
11
+ // },
12
+ // });
13
+ // return Response.json(images.map((image) => image.id));
14
+ return Response.json([]);
15
  }