aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/activitypub.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-01-26 17:25:35 +0100
committerChocobozzz <me@florianbigard.com>2018-01-26 17:25:35 +0100
commit0a67e28beeaf603110d52df3eda400e60531b3a4 (patch)
treef2771c1d0de356cf163fb79b498b41b2b2cdad2c /server/helpers/activitypub.ts
parent4ba3b8ea1be85d95a508ac479f26b96ceea15971 (diff)
downloadPeerTube-0a67e28beeaf603110d52df3eda400e60531b3a4.tar.gz
PeerTube-0a67e28beeaf603110d52df3eda400e60531b3a4.tar.zst
PeerTube-0a67e28beeaf603110d52df3eda400e60531b3a4.zip
Use sensitive instead of nsfw in activitypub
Diffstat (limited to 'server/helpers/activitypub.ts')
-rw-r--r--server/helpers/activitypub.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/activitypub.ts b/server/helpers/activitypub.ts
index a19726beb..97115680c 100644
--- a/server/helpers/activitypub.ts
+++ b/server/helpers/activitypub.ts
@@ -15,7 +15,7 @@ function activityPubContextify <T> (data: T) {
15 'uuid': 'http://schema.org/identifier', 15 'uuid': 'http://schema.org/identifier',
16 'category': 'http://schema.org/category', 16 'category': 'http://schema.org/category',
17 'licence': 'http://schema.org/license', 17 'licence': 'http://schema.org/license',
18 'nsfw': 'as:sensitive', 18 'sensitive': 'as:sensitive',
19 'language': 'http://schema.org/inLanguage', 19 'language': 'http://schema.org/inLanguage',
20 'views': 'http://schema.org/Number', 20 'views': 'http://schema.org/Number',
21 'size': 'http://schema.org/Number', 21 'size': 'http://schema.org/Number',