Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
add wikisource to trove
  • Loading branch information
okerekechinweotito committed Feb 14, 2024
commit d5040e7a9f14b9fd557ac5da87ca1ea4d0e43877
5 changes: 5 additions & 0 deletions bull/trove-queue/consumer.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,11 @@ TroveQueue.process((job, done) => {
(await commonsResponse.value.wikidata) !== 404
? await commonsResponse.value.wikidata
: 404,
wikisource:
(await commonsResponse.value.wikisource) !== 404
? await commonsResponse.value.wikisource
.filename
: 404,
},
});
if (job.data.isEmailNotification === "true") {
Expand Down