From: Chocobozzz Date: Mon, 8 Jan 2018 09:46:41 +0000 (+0100) Subject: Fix lint X-Git-Tag: v0.0.1-alpha~39 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=28832412d145e3c36bcc62df79ef3af791535622;p=oweals%2Fpeertube.git Fix lint --- diff --git a/client/src/app/videos/+video-watch/video-watch.component.ts b/client/src/app/videos/+video-watch/video-watch.component.ts index 01e4bbf4a..a27cacba3 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.ts +++ b/client/src/app/videos/+video-watch/video-watch.component.ts @@ -28,7 +28,6 @@ export class VideoWatchComponent implements OnInit, OnDestroy { @ViewChild('videoShareModal') videoShareModal: VideoShareComponent @ViewChild('videoReportModal') videoReportModal: VideoReportComponent - otherVideos: Video[] = [] otherVideosDisplayed: Video[] = [] error = false @@ -47,6 +46,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { videoHTMLDescription = '' likesBarTooltipText = '' + private otherVideos: Video[] = [] private paramsSub: Subscription constructor ( diff --git a/server/lib/activitypub/process/process-create.ts b/server/lib/activitypub/process/process-create.ts index a97f6ae83..32be37e2d 100644 --- a/server/lib/activitypub/process/process-create.ts +++ b/server/lib/activitypub/process/process-create.ts @@ -13,7 +13,6 @@ import { VideoModel } from '../../../models/video/video' import { VideoAbuseModel } from '../../../models/video/video-abuse' import { VideoCommentModel } from '../../../models/video/video-comment' import { VideoFileModel } from '../../../models/video/video-file' -import { VideoShareModel } from '../../../models/video/video-share' import { getOrCreateActorAndServerAndModel } from '../actor' import { forwardActivity, getActorsInvolvedInVideo } from '../send/misc' import { generateThumbnailFromUrl } from '../videos'