projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07197db
)
Put Person first in AP attributedTo
author
Chocobozzz
<me@florianbigard.com>
Tue, 27 Mar 2018 11:40:30 +0000
(13:40 +0200)
committer
Chocobozzz
<me@florianbigard.com>
Tue, 27 Mar 2018 11:40:30 +0000
(13:40 +0200)
server/models/video/video.ts
patch
|
blob
|
history
diff --git
a/server/models/video/video.ts
b/server/models/video/video.ts
index 13bf0b6a2f574b3233eafe63e2be06e26c6fca07..0d56f6ae9cf60dd69fa272dc42097743a9a8cd3b 100644
(file)
--- a/
server/models/video/video.ts
+++ b/
server/models/video/video.ts
@@
-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
}
]
}