X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fmodels%2Favatar%2Favatar.ts;h=4558355244845332dbfd3aa806077c3f08c1cf0d;hb=6dd9de95dfa39bd5c1faed00d1dbd52cd112bae0;hp=303aebcc2cc0919f7296e824ad958cc081b0780d;hpb=2c3abc4fa796555eb7d25f416c4f41ab3e3ad8ca;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/models/avatar/avatar.ts b/server/models/avatar/avatar.ts index 303aebcc2..455835524 100644 --- a/server/models/avatar/avatar.ts +++ b/server/models/avatar/avatar.ts @@ -1,9 +1,10 @@ import { join } from 'path' import { AfterDestroy, AllowNull, Column, CreatedAt, Model, Table, UpdatedAt } from 'sequelize-typescript' import { Avatar } from '../../../shared/models/avatars/avatar.model' -import { CONFIG, STATIC_PATHS } from '../../initializers' +import { STATIC_PATHS } from '../../initializers' import { logger } from '../../helpers/logger' import { remove } from 'fs-extra' +import { CONFIG } from '../../initializers/config' @Table({ tableName: 'avatar'