Use import syntax for logger and config

Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
David Mehren 2020-04-12 13:11:06 +02:00
parent dd11483f44
commit 9f284b752b
No known key found for this signature in database
GPG key ID: 6017AF117F9756CB
14 changed files with 98 additions and 113 deletions

View file

@ -1,7 +1,7 @@
'use strict'
import { createHash } from 'crypto'
import randomColor from 'randomcolor'
import config from './config'
import { config } from './config'
// core
export function generateAvatar (name: string): string {