⚡️ fix - typo
This commit is contained in:
1 parent
60d701ac07
commit
eda530cce6
1 file changed
+1
-4
+1
-4
@@ -59,8 +59,7 @@ export async function getServerSideProps(context) {
|
|||||||
const users = await prisma.user.findMany({
|
const users = await prisma.user.findMany({
|
||||||
include: {
|
include: {
|
||||||
gains: true
|
gains: true
|
||||||
},
|
}
|
||||||
take: 5
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const user = await prisma.user.findUnique({
|
const user = await prisma.user.findUnique({
|
||||||
@@ -90,8 +89,6 @@ export async function getServerSideProps(context) {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
console.log("🚀 ~ file: admin.tsx:87 ~ getServerSideProps ~ gainsRetires", gainsRetires)
|
|
||||||
|
|
||||||
const produits = await prisma.produit.findMany({})
|
const produits = await prisma.produit.findMany({})
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in new issue
Block a user