aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/controllers/api/users.ts2
-rw-r--r--server/lib/activitypub/process/process-update.ts1
2 files changed, 2 insertions, 1 deletions
diff --git a/server/controllers/api/users.ts b/server/controllers/api/users.ts
index 6c24434f2..d37813595 100644
--- a/server/controllers/api/users.ts
+++ b/server/controllers/api/users.ts
@@ -3,7 +3,7 @@ import { extname, join } from 'path'
3import * as sharp from 'sharp' 3import * as sharp from 'sharp'
4import * as uuidv4 from 'uuid/v4' 4import * as uuidv4 from 'uuid/v4'
5import { UserCreate, UserRight, UserRole, UserUpdate, UserUpdateMe, UserVideoRate as FormattedUserVideoRate } from '../../../shared' 5import { UserCreate, UserRight, UserRole, UserUpdate, UserUpdateMe, UserVideoRate as FormattedUserVideoRate } from '../../../shared'
6import { renamePromise, unlinkPromise } from '../../helpers/core-utils' 6import { unlinkPromise } from '../../helpers/core-utils'
7import { retryTransactionWrapper } from '../../helpers/database-utils' 7import { retryTransactionWrapper } from '../../helpers/database-utils'
8import { logger } from '../../helpers/logger' 8import { logger } from '../../helpers/logger'
9import { createReqFiles, getFormattedObjects } from '../../helpers/utils' 9import { createReqFiles, getFormattedObjects } from '../../helpers/utils'
diff --git a/server/lib/activitypub/process/process-update.ts b/server/lib/activitypub/process/process-update.ts
index a5ad406cb..bc8ae5cc6 100644
--- a/server/lib/activitypub/process/process-update.ts
+++ b/server/lib/activitypub/process/process-update.ts
@@ -65,6 +65,7 @@ async function updateRemoteVideo (actor: ActorModel, activity: ActivityUpdate) {
65 videoInstance.set('licence', videoData.licence) 65 videoInstance.set('licence', videoData.licence)
66 videoInstance.set('language', videoData.language) 66 videoInstance.set('language', videoData.language)
67 videoInstance.set('nsfw', videoData.nsfw) 67 videoInstance.set('nsfw', videoData.nsfw)
68 videoInstance.set('commentsEnabled', videoData.commentsEnabled)
68 videoInstance.set('privacy', videoData.privacy) 69 videoInstance.set('privacy', videoData.privacy)
69 videoInstance.set('description', videoData.description) 70 videoInstance.set('description', videoData.description)
70 videoInstance.set('duration', videoData.duration) 71 videoInstance.set('duration', videoData.duration)