X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fmodels%2Fabuse%2Fvideo-comment-abuse.ts;h=337aaaa58e95043adb2c0ded4ce6c4aabaf1953b;hb=6b5f72beda96d8b7e4d6329c4001827334de27dd;hp=8b34009b44e8b81a5af21129ac03a41d3d8f012e;hpb=17aa80ed016bafa3ccb071af3f86054033823284;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/models/abuse/video-comment-abuse.ts b/server/models/abuse/video-comment-abuse.ts index 8b34009b4..337aaaa58 100644 --- a/server/models/abuse/video-comment-abuse.ts +++ b/server/models/abuse/video-comment-abuse.ts @@ -1,4 +1,5 @@ import { BelongsTo, Column, CreatedAt, ForeignKey, Model, Table, UpdatedAt } from 'sequelize-typescript' +import { AttributesOnly } from '@shared/typescript-utils' import { VideoCommentModel } from '../video/video-comment' import { AbuseModel } from './abuse' @@ -13,7 +14,7 @@ import { AbuseModel } from './abuse' } ] }) -export class VideoCommentAbuseModel extends Model { +export class VideoCommentAbuseModel extends Model>> { @CreatedAt createdAt: Date