Updated GraphQL queries to Datetime. Updated template to latest guideline.

This commit is contained in:
DebaucheryLibrarian
2020-07-16 15:55:03 +02:00
parent d0e61978d6
commit 66d6322c1d
10 changed files with 89 additions and 39 deletions

View File

@@ -505,6 +505,8 @@ async function scrapeProfiles(actor, sources, entitiesBySlug, existingProfilesBy
try {
const scraper = scrapers[scraperSlug];
const context = {
...entitiesBySlug[scraperSlug],
// legacy
site: entitiesBySlug[scraperSlug] || null,
network: entitiesBySlug[scraperSlug] || null,
entity: entitiesBySlug[scraperSlug] || null,