X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fmodels%2Fuser%2Fuser-video-history.ts;h=f4d0889a104c7bb8df09d80c065cce55024f4c8d;hb=64aa66c4a61e1c6aa83a775e7af498e288ea82e4;hp=1aefdf02bfa9742f7b0afeb0286b2dae2ff72be0;hpb=3c10840fa90fc88fc98e8169faf4745ff6c80893;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/models/user/user-video-history.ts b/server/models/user/user-video-history.ts index 1aefdf02b..f4d0889a1 100644 --- a/server/models/user/user-video-history.ts +++ b/server/models/user/user-video-history.ts @@ -1,10 +1,9 @@ import { DestroyOptions, Op, Transaction } from 'sequelize' import { AllowNull, BelongsTo, Column, CreatedAt, ForeignKey, IsInt, Model, Table, UpdatedAt } from 'sequelize-typescript' import { MUserAccountId, MUserId } from '@server/types/models' -import { AttributesOnly } from '@shared/core-utils' +import { AttributesOnly } from '@shared/typescript-utils' import { VideoModel } from '../video/video' import { UserModel } from './user' -import { getServerActor } from '../application/application' @Table({ tableName: 'userVideoHistory', @@ -57,24 +56,30 @@ export class UserVideoHistoryModel extends Model