Commit 398fe4df authored by ThinhNC's avatar ThinhNC

Merge branch 'fix/content-pages' into 'develop'

fix(crawl-jobs): include complete page content and details in job query

See merge request !23
parents e3e9d850 6bb64df2
......@@ -155,19 +155,7 @@ export class CrawlJobRepository {
const job = await prisma.crawlJob.findUnique({
where: { id },
include: {
pages: {
select: {
id: true,
url: true,
normalizedUrl: true,
contentHash: true,
wordCount: true,
status: true,
statusCode: true,
title: true,
crawledAt: true,
},
},
pages: true,
},
});
if (!job || job.deletedAt) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment