From 91723454849076387176684f0d9c73deab824e20 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 13 Apr 2021 09:40:20 +0200 Subject: Fix banner error in actor json --- server/models/activitypub/actor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/models') 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 { const base = this.toFormattedSummaryJSON() let banner: ActorImage = null - if (this.bannerId) { + if (this.Banner) { banner = this.Banner.toFormattedJSON() } -- cgit v1.2.3