Spaces:
Paused
Paused
shanshel6
feat: enhance air restriction logic, fix aiMetadata null issue, and improve bulk import detection
073446b Download server/scripts/check_7653.js from shanshal66/chinak2: direct link, hf CLI and curl.
- Browser
- Download file 295 Bytes
-
https://huggingface.co/spaces/shanshal66/chinak2/resolve/main/server/scripts/check_7653.js
- Command line
-
hf download hf://spaces/shanshal66/chinak2/server/scripts/check_7653.js
-
curl -L -o check_7653.js https://huggingface.co/spaces/shanshal66/chinak2/resolve/main/server/scripts/check_7653.js
295 Bytes
| import prisma from '../prismaClient.js'; | |
| async function main() { | |
| try { | |
| const product = await prisma.product.findUnique({ | |
| where: { id: 7653 } | |
| }); | |
| console.log(product); | |
| } catch (error) { | |
| console.error(error); | |
| } finally { | |
| await prisma.$disconnect(); | |
| } | |
| } | |
| main(); | |