Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix banner error in actor json

Chocobozzz917234548490
diff --git a/server/models/activitypub/actor.ts b/server/models/activitypub/actor.ts
index a6c724f266..19f3f7e04e 100644
--- a/server/models/activitypub/actor.ts
+++ b/server/models/activitypub/actor.ts
@@ -545,7 +545,7 @@ export class ActorModel extends Model {
const base = this.toFormattedSummaryJSON()
let banner: ActorImage = null
- if (this.bannerId) {
+ if (this.Banner) {
banner = this.Banner.toFormattedJSON()
}