minor fix
This commit is contained in:
parent
6cae2fb634
commit
9d8ae6970c
|
@ -66,6 +66,14 @@ async function checkFileExistence(path) {
|
||||||
|
|
||||||
async function indexArchives() {
|
async function indexArchives() {
|
||||||
const links = await prisma.link.findMany({
|
const links = await prisma.link.findMany({
|
||||||
|
select: {
|
||||||
|
id: true,
|
||||||
|
collectionId: true,
|
||||||
|
image: true,
|
||||||
|
pdf: true,
|
||||||
|
readable: true,
|
||||||
|
monolith: true,
|
||||||
|
},
|
||||||
orderBy: { id: "asc" },
|
orderBy: { id: "asc" },
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Ŝarĝante…
Reference in New Issue