diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/controllers/api/users.ts | 2 | ||||
-rw-r--r-- | server/lib/activitypub/process/process-update.ts | 1 |
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' | |||
3 | import * as sharp from 'sharp' | 3 | import * as sharp from 'sharp' |
4 | import * as uuidv4 from 'uuid/v4' | 4 | import * as uuidv4 from 'uuid/v4' |
5 | import { UserCreate, UserRight, UserRole, UserUpdate, UserUpdateMe, UserVideoRate as FormattedUserVideoRate } from '../../../shared' | 5 | import { UserCreate, UserRight, UserRole, UserUpdate, UserUpdateMe, UserVideoRate as FormattedUserVideoRate } from '../../../shared' |
6 | import { renamePromise, unlinkPromise } from '../../helpers/core-utils' | 6 | import { unlinkPromise } from '../../helpers/core-utils' |
7 | import { retryTransactionWrapper } from '../../helpers/database-utils' | 7 | import { retryTransactionWrapper } from '../../helpers/database-utils' |
8 | import { logger } from '../../helpers/logger' | 8 | import { logger } from '../../helpers/logger' |
9 | import { createReqFiles, getFormattedObjects } from '../../helpers/utils' | 9 | import { 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) |