Fixed actor boolean logic, addressing missing boob, tattoo and piercing info. Removed scroll background, fixed actor photo load event and padding.
This commit is contained in:
@@ -348,24 +348,24 @@ async function curateProfile(profile, actor) {
|
||||
curatedProfile.penisGirth = Number(profile.penisGirth) || profile.penisGirth?.match?.(/\d+/)?.[0] || null;
|
||||
|
||||
curatedProfile.circumcised = (typeof profile.circumcised === 'boolean' && profile.circumcised)
|
||||
|| (/yes/i.test(profile.circumcised) && true)
|
||||
|| (/no/i.test(profile.circumcised) && false)
|
||||
|| null;
|
||||
?? (/yes/i.test(profile.circumcised) && true)
|
||||
?? (/no/i.test(profile.circumcised) && false)
|
||||
?? null;
|
||||
|
||||
curatedProfile.naturalBoobs = (typeof profile.naturalBoobs === 'boolean' && profile.naturalBoobs)
|
||||
|| (/yes/i.test(profile.naturalBoobs) && true)
|
||||
|| (/no/i.test(profile.naturalBoobs) && false)
|
||||
|| null;
|
||||
?? (/yes/i.test(profile.naturalBoobs) && true)
|
||||
?? (/no/i.test(profile.naturalBoobs) && false)
|
||||
?? null;
|
||||
|
||||
curatedProfile.hasTattoos = (typeof profile.hasTattoos === 'boolean' && profile.hasTattoos)
|
||||
|| (/yes/i.test(profile.hasTattoos) && true)
|
||||
|| (/no/i.test(profile.hasTattoos) && true)
|
||||
|| null;
|
||||
?? (/yes/i.test(profile.hasTattoos) && true)
|
||||
?? (/no/i.test(profile.hasTattoos) && true)
|
||||
?? null;
|
||||
|
||||
curatedProfile.hasPiercings = (typeof profile.hasPiercings === 'boolean' && profile.hasPiercings)
|
||||
|| (/yes/i.test(profile.hasPiercings) && true)
|
||||
|| (/no/i.test(profile.hasPiercings) && true)
|
||||
|| null;
|
||||
?? (/yes/i.test(profile.hasPiercings) && true)
|
||||
?? (/no/i.test(profile.hasPiercings) && true)
|
||||
?? null;
|
||||
|
||||
if (argv.resolvePlace) {
|
||||
const [placeOfBirth, placeOfResidence] = await Promise.all([
|
||||
|
||||
Reference in New Issue
Block a user