Merge pull request #667 from linkwarden/dev

minor fix
This commit is contained in:
Daniel 2024-07-25 13:58:13 -04:00 committed by GitHub
commit 2bba8198b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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" },
}); });