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',
brunette: 'brown',
fair: 'blonde',
grey: 'gray',
gray: 'gray',
raven: 'black',
red: 'red',
redhead: 'red',

View File

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