Added Vivid network. Added ASMR Fantasy to Adult Time. Storing deep URL in database. Added href to header links.
This commit is contained in:
@@ -227,6 +227,7 @@ async function curateReleaseEntry(release) {
|
||||
// dislikes: release.rating && release.rating.dislikes,
|
||||
// rating: release.rating && release.rating.stars && Math.floor(release.rating.stars),
|
||||
deep: typeof release.deep === 'boolean' ? release.deep : false,
|
||||
deep_url: release.deepUrl,
|
||||
};
|
||||
|
||||
return curatedRelease;
|
||||
@@ -296,11 +297,16 @@ function accumulateActors(releases) {
|
||||
name: actorName,
|
||||
slug: actorSlug,
|
||||
releaseIds: new Set(),
|
||||
avatars: [],
|
||||
};
|
||||
}
|
||||
|
||||
if (actor.name) acc[actorSlug] = { ...acc[actorSlug], ...actor }; // actor input contains profile info
|
||||
acc[actorSlug].releaseIds.add(release.id);
|
||||
|
||||
if (actor.name) acc[actorSlug] = { ...acc[actorSlug], ...actor }; // actor input contains profile info
|
||||
if (actor.avatar) {
|
||||
acc[actorSlug].avatars = acc[actorSlug].avatars.concat(actor.avatar);
|
||||
}
|
||||
});
|
||||
|
||||
return acc;
|
||||
|
||||
Reference in New Issue
Block a user