mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add linkedom dependency in packages/api
This commit is contained in:
parent
93ed1936f0
commit
0b11c31317
2 changed files with 3 additions and 2 deletions
|
|
@ -62,6 +62,7 @@
|
|||
"jwks-rsa": "^2.0.3",
|
||||
"knex": "0.21.12",
|
||||
"knex-stringcase": "^1.4.2",
|
||||
"linkedom": "^0.14.9",
|
||||
"luxon": "^2.3.1",
|
||||
"nanoid": "^3.1.25",
|
||||
"nodemailer": "^6.7.3",
|
||||
|
|
|
|||
|
|
@ -363,7 +363,7 @@ exports.puppeteer = Sentry.GCPFunction.wrapHttpFunction(async (req, res) => {
|
|||
console.log(content);
|
||||
}
|
||||
|
||||
logRecord.timing.contentFetchTime = Date.now() - functionStartTime;
|
||||
logRecord.contentFetchTime = Date.now() - functionStartTime;
|
||||
|
||||
const apiResponse = await sendCreateArticleMutation(userId, {
|
||||
url: finalUrl,
|
||||
|
|
@ -378,7 +378,7 @@ exports.puppeteer = Sentry.GCPFunction.wrapHttpFunction(async (req, res) => {
|
|||
skipParsing: !content,
|
||||
});
|
||||
|
||||
logRecord.timing.totalTime = Date.now() - functionStartTime;
|
||||
logRecord.totalTime = Date.now() - functionStartTime;
|
||||
logRecord.result = apiResponse.createArticle;
|
||||
logger.info(`parse-page`, logRecord);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue