Added grey hair color, removed console log.
This commit is contained in:
parent
c29ecac41c
commit
dab38c8013
|
@ -47,6 +47,8 @@ const hairColors = {
|
|||
bruin: 'brown',
|
||||
brunette: 'brown',
|
||||
fair: 'blonde',
|
||||
grey: 'gray',
|
||||
gray: 'gray',
|
||||
raven: 'black',
|
||||
red: 'red',
|
||||
redhead: 'red',
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue