Fixed indentation.

This commit is contained in:
DebaucheryLibrarian
2021-02-21 22:58:46 +01:00
parent c0347eed50
commit b79e75349c
5 changed files with 15 additions and 10 deletions

View File

@@ -77,7 +77,7 @@ async function fetchClassicProfile(actorName, { site }) {
const actorPath = pornstarsRes.item.qa('option[value*="/pornstar"]')
.find(el => slugify(el.textContent) === actorSlug)
?.value;
?.value;
if (actorPath) {
const actorUrl = `${site.url}${actorPath}`;