Added grey hair color, removed console log.

This commit is contained in:
DebaucheryLibrarian 2023-07-21 01:07:06 +02:00
parent c29ecac41c
commit dab38c8013
2 changed files with 2 additions and 2 deletions

View File

@ -47,6 +47,8 @@ const hairColors = {
bruin: 'brown', bruin: 'brown',
brunette: 'brown', brunette: 'brown',
fair: 'blonde', fair: 'blonde',
grey: 'gray',
gray: 'gray',
raven: 'black', raven: 'black',
red: 'red', red: 'red',
redhead: 'red', redhead: 'red',

View File

@ -238,8 +238,6 @@ async function fetchEntitiesBySlug(entitySlugs, prefer = 'channel') {
sort: knex.raw(prefer === 'channel' ? 'asc' : 'desc'), sort: knex.raw(prefer === 'channel' ? 'asc' : 'desc'),
}); });
console.log(entities.rows);
// channel entity will overwrite network entity // channel entity will overwrite network entity
const entitiesBySlug = entities.rows.reduce((accEntities, { entity }) => { const entitiesBySlug = entities.rows.reduce((accEntities, { entity }) => {
const host = urlToHostname(entity.url); const host = urlToHostname(entity.url);