diff options
Diffstat (limited to 'server/controllers/api/remote')
-rw-r--r-- | server/controllers/api/remote/videos.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/controllers/api/remote/videos.js b/server/controllers/api/remote/videos.js index cbd58e0e4..c8ef0c445 100644 --- a/server/controllers/api/remote/videos.js +++ b/server/controllers/api/remote/videos.js | |||
@@ -294,6 +294,7 @@ function addRemoteVideo (videoToCreateData, fromPod, finalCallback) { | |||
294 | remoteId: videoToCreateData.remoteId, | 294 | remoteId: videoToCreateData.remoteId, |
295 | extname: videoToCreateData.extname, | 295 | extname: videoToCreateData.extname, |
296 | infoHash: videoToCreateData.infoHash, | 296 | infoHash: videoToCreateData.infoHash, |
297 | category: videoToCreateData.category, | ||
297 | description: videoToCreateData.description, | 298 | description: videoToCreateData.description, |
298 | authorId: author.id, | 299 | authorId: author.id, |
299 | duration: videoToCreateData.duration, | 300 | duration: videoToCreateData.duration, |
@@ -390,6 +391,7 @@ function updateRemoteVideo (videoAttributesToUpdate, fromPod, finalCallback) { | |||
390 | const options = { transaction: t } | 391 | const options = { transaction: t } |
391 | 392 | ||
392 | videoInstance.set('name', videoAttributesToUpdate.name) | 393 | videoInstance.set('name', videoAttributesToUpdate.name) |
394 | videoInstance.set('category', videoAttributesToUpdate.category) | ||
393 | videoInstance.set('description', videoAttributesToUpdate.description) | 395 | videoInstance.set('description', videoAttributesToUpdate.description) |
394 | videoInstance.set('infoHash', videoAttributesToUpdate.infoHash) | 396 | videoInstance.set('infoHash', videoAttributesToUpdate.infoHash) |
395 | videoInstance.set('duration', videoAttributesToUpdate.duration) | 397 | videoInstance.set('duration', videoAttributesToUpdate.duration) |