required: true,
include: [
{
- attributes: [ 'uuid' ],
+ attributes: [ 'id', 'name', 'uuid' ],
model: VideoModel.unscoped(),
required: true
}
threadId: abuse.VideoCommentAbuse.VideoComment.getThreadId(),
video: {
+ id: abuse.VideoCommentAbuse.VideoComment.Video.id,
+ name: abuse.VideoCommentAbuse.VideoComment.Video.name,
uuid: abuse.VideoCommentAbuse.VideoComment.Video.uuid
}
} : undefined