X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fmodels%2Fuser%2Fuser-video-history.ts;h=f4d0889a104c7bb8df09d80c065cce55024f4c8d;hb=3a380e9a71037b0fcbace58a7599221e7cc76e20;hp=d633cc9d5f1f87d23338749c0e3534828ad92fca;hpb=2760b454a761f6af3138b2fb5f34340772ab0d1e;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/models/user/user-video-history.ts b/server/models/user/user-video-history.ts index d633cc9d5..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,25 +56,30 @@ export class UserVideoHistoryModel extends Model