From 096641566f2663076c3b0d5a1947ecb7efb29fc0 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 8 Sep 2017 17:10:57 +0200 Subject: Convert real world script to typescript --- server/controllers/api/remote/videos.ts | 2 -- 1 file changed, 2 deletions(-) (limited to 'server/controllers') diff --git a/server/controllers/api/remote/videos.ts b/server/controllers/api/remote/videos.ts index f7ee0356a..9dd4afdb5 100644 --- a/server/controllers/api/remote/videos.ts +++ b/server/controllers/api/remote/videos.ts @@ -351,11 +351,9 @@ function updateRemoteVideo (videoAttributesToUpdate: RemoteVideoUpdateData, from videoInstance.set('language', videoAttributesToUpdate.language) videoInstance.set('nsfw', videoAttributesToUpdate.nsfw) videoInstance.set('description', videoAttributesToUpdate.description) - videoInstance.set('infoHash', videoAttributesToUpdate.infoHash) videoInstance.set('duration', videoAttributesToUpdate.duration) videoInstance.set('createdAt', videoAttributesToUpdate.createdAt) videoInstance.set('updatedAt', videoAttributesToUpdate.updatedAt) - videoInstance.set('extname', videoAttributesToUpdate.extname) videoInstance.set('views', videoAttributesToUpdate.views) videoInstance.set('likes', videoAttributesToUpdate.likes) videoInstance.set('dislikes', videoAttributesToUpdate.dislikes) -- cgit v1.2.3