]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/helpers/activitypub.ts
Add originallyPublishedAt unit tests
[github/Chocobozzz/PeerTube.git] / server / helpers / activitypub.ts
index 62d78373ef0142fe411c3eb5587be18bf6e69d5b..e850efe138eb53a4097e4a1a4cd742f6a1f60c57 100644 (file)
@@ -34,7 +34,8 @@ function activityPubContextify <T> (data: T) {
         expires: 'sc:expires',
         support: 'sc:Text',
         CacheFile: 'pt:CacheFile',
-        Infohash: 'pt:Infohash'
+        Infohash: 'pt:Infohash',
+        originallyPublishedAt: 'sc:DateTime'
       },
       {
         likes: {