aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-05-13 10:53:18 +0200
committerChocobozzz <me@florianbigard.com>2020-05-13 10:53:18 +0200
commit9934b6f31e0684e06171fe46ed170eda26cade90 (patch)
tree47ac59167f437ccdd6c71be1c5894fdbeaed6682
parent089af69bc8fdf7b275aa87a9e37abee6653e2eef (diff)
downloadPeerTube-9934b6f31e0684e06171fe46ed170eda26cade90.tar.gz
PeerTube-9934b6f31e0684e06171fe46ed170eda26cade90.tar.zst
PeerTube-9934b6f31e0684e06171fe46ed170eda26cade90.zip
Add missing playlist and playlistElement types in AP context
-rw-r--r--server/helpers/activitypub.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/helpers/activitypub.ts b/server/helpers/activitypub.ts
index aeb8fde01..ce48fc543 100644
--- a/server/helpers/activitypub.ts
+++ b/server/helpers/activitypub.ts
@@ -40,6 +40,9 @@ function getContextData (type: ContextType) {
40 language: 'sc:inLanguage', 40 language: 'sc:inLanguage',
41 41
42 Infohash: 'pt:Infohash', 42 Infohash: 'pt:Infohash',
43 Playlist: 'pt:Playlist',
44 PlaylistElement: 'pt:PlaylistElement',
45
43 originallyPublishedAt: 'sc:datePublished', 46 originallyPublishedAt: 'sc:datePublished',
44 views: { 47 views: {
45 '@type': 'sc:Number', 48 '@type': 'sc:Number',