diff options
Diffstat (limited to 'server/controllers/api/remote')
-rw-r--r-- | server/controllers/api/remote/videos.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/controllers/api/remote/videos.ts b/server/controllers/api/remote/videos.ts index d0febdd4b..3ecc62ada 100644 --- a/server/controllers/api/remote/videos.ts +++ b/server/controllers/api/remote/videos.ts | |||
@@ -258,7 +258,7 @@ async function addRemoteVideo (videoToCreateData: RemoteVideoCreateData, fromPod | |||
258 | licence: videoToCreateData.licence, | 258 | licence: videoToCreateData.licence, |
259 | language: videoToCreateData.language, | 259 | language: videoToCreateData.language, |
260 | nsfw: videoToCreateData.nsfw, | 260 | nsfw: videoToCreateData.nsfw, |
261 | description: videoToCreateData.description, | 261 | description: videoToCreateData.truncatedDescription, |
262 | channelId: videoChannel.id, | 262 | channelId: videoChannel.id, |
263 | duration: videoToCreateData.duration, | 263 | duration: videoToCreateData.duration, |
264 | createdAt: videoToCreateData.createdAt, | 264 | createdAt: videoToCreateData.createdAt, |
@@ -327,7 +327,7 @@ async function updateRemoteVideo (videoAttributesToUpdate: RemoteVideoUpdateData | |||
327 | videoInstance.set('licence', videoAttributesToUpdate.licence) | 327 | videoInstance.set('licence', videoAttributesToUpdate.licence) |
328 | videoInstance.set('language', videoAttributesToUpdate.language) | 328 | videoInstance.set('language', videoAttributesToUpdate.language) |
329 | videoInstance.set('nsfw', videoAttributesToUpdate.nsfw) | 329 | videoInstance.set('nsfw', videoAttributesToUpdate.nsfw) |
330 | videoInstance.set('description', videoAttributesToUpdate.description) | 330 | videoInstance.set('description', videoAttributesToUpdate.truncatedDescription) |
331 | videoInstance.set('duration', videoAttributesToUpdate.duration) | 331 | videoInstance.set('duration', videoAttributesToUpdate.duration) |
332 | videoInstance.set('createdAt', videoAttributesToUpdate.createdAt) | 332 | videoInstance.set('createdAt', videoAttributesToUpdate.createdAt) |
333 | videoInstance.set('updatedAt', videoAttributesToUpdate.updatedAt) | 333 | videoInstance.set('updatedAt', videoAttributesToUpdate.updatedAt) |