diff options
author | Chocobozzz <me@florianbigard.com> | 2021-04-13 09:40:20 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-04-13 09:40:20 +0200 |
commit | 91723454849076387176684f0d9c73deab824e20 (patch) | |
tree | 6be645fbbeb1f4120ad3f7199e71d9aa56321b29 | |
parent | 93f30abf2809327aa7bf637691baa2a125bba5fa (diff) | |
download | PeerTube-91723454849076387176684f0d9c73deab824e20.tar.gz PeerTube-91723454849076387176684f0d9c73deab824e20.tar.zst PeerTube-91723454849076387176684f0d9c73deab824e20.zip |
Fix banner error in actor json
-rw-r--r-- | server/models/activitypub/actor.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/activitypub/actor.ts b/server/models/activitypub/actor.ts index a6c724f26..19f3f7e04 100644 --- a/server/models/activitypub/actor.ts +++ b/server/models/activitypub/actor.ts | |||
@@ -545,7 +545,7 @@ export class ActorModel extends Model { | |||
545 | const base = this.toFormattedSummaryJSON() | 545 | const base = this.toFormattedSummaryJSON() |
546 | 546 | ||
547 | let banner: ActorImage = null | 547 | let banner: ActorImage = null |
548 | if (this.bannerId) { | 548 | if (this.Banner) { |
549 | banner = this.Banner.toFormattedJSON() | 549 | banner = this.Banner.toFormattedJSON() |
550 | } | 550 | } |
551 | 551 | ||