diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-26 17:25:35 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-26 17:25:35 +0100 |
commit | 0a67e28beeaf603110d52df3eda400e60531b3a4 (patch) | |
tree | f2771c1d0de356cf163fb79b498b41b2b2cdad2c /server/models/video/video.ts | |
parent | 4ba3b8ea1be85d95a508ac479f26b96ceea15971 (diff) | |
download | PeerTube-0a67e28beeaf603110d52df3eda400e60531b3a4.tar.gz PeerTube-0a67e28beeaf603110d52df3eda400e60531b3a4.tar.zst PeerTube-0a67e28beeaf603110d52df3eda400e60531b3a4.zip |
Use sensitive instead of nsfw in activitypub
Diffstat (limited to 'server/models/video/video.ts')
-rw-r--r-- | server/models/video/video.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts index bd834b088..8e1acdd44 100644 --- a/server/models/video/video.ts +++ b/server/models/video/video.ts | |||
@@ -1027,7 +1027,7 @@ export class VideoModel extends Model<VideoModel> { | |||
1027 | licence, | 1027 | licence, |
1028 | language, | 1028 | language, |
1029 | views: this.views, | 1029 | views: this.views, |
1030 | nsfw: this.nsfw, | 1030 | sensitive: this.nsfw, |
1031 | commentsEnabled: this.commentsEnabled, | 1031 | commentsEnabled: this.commentsEnabled, |
1032 | published: this.createdAt.toISOString(), | 1032 | published: this.createdAt.toISOString(), |
1033 | updated: this.updatedAt.toISOString(), | 1033 | updated: this.updatedAt.toISOString(), |