]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/video/video.ts
Put Person first in AP attributedTo
[github/Chocobozzz/PeerTube.git] / server / models / video / video.ts
index 13bf0b6a2f574b3233eafe63e2be06e26c6fca07..0d56f6ae9cf60dd69fa272dc42097743a9a8cd3b 100644 (file)
@@ -1113,13 +1113,13 @@ export class VideoModel extends Model<VideoModel> {
       shares: sharesObject,
       comments: commentsObject,
       attributedTo: [
-        {
-          type: 'Group',
-          id: this.VideoChannel.Actor.url
-        },
         {
           type: 'Person',
           id: this.VideoChannel.Account.Actor.url
+        },
+        {
+          type: 'Group',
+          id: this.VideoChannel.Actor.url
         }
       ]
     }