aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/actor
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-05-25 09:10:20 +0200
committerChocobozzz <me@florianbigard.com>2022-05-25 09:37:30 +0200
commita220b84b0e29c7ce1b32166aec07870696a28ef9 (patch)
treec7dfdbe24a28e5491d6dc103ffc9b10d4f15296a /server/models/actor
parent424aeb12bd16f5d6763dfa2860d113cc93876405 (diff)
downloadPeerTube-a220b84b0e29c7ce1b32166aec07870696a28ef9.tar.gz
PeerTube-a220b84b0e29c7ce1b32166aec07870696a28ef9.tar.zst
PeerTube-a220b84b0e29c7ce1b32166aec07870696a28ef9.zip
Fix avatars in notifications
Diffstat (limited to 'server/models/actor')
-rw-r--r--server/models/actor/actor-image.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/models/actor/actor-image.ts b/server/models/actor/actor-image.ts
index f74ab735e..9d44ef4d1 100644
--- a/server/models/actor/actor-image.ts
+++ b/server/models/actor/actor-image.ts
@@ -138,6 +138,9 @@ export class ActorImageModel extends Model<Partial<AttributesOnly<ActorImageMode
138 138
139 case ActorImageType.BANNER: 139 case ActorImageType.BANNER:
140 return join(LAZY_STATIC_PATHS.BANNERS, this.filename) 140 return join(LAZY_STATIC_PATHS.BANNERS, this.filename)
141
142 default:
143 throw new Error('Unknown actor image type: ' + this.type)
141 } 144 }
142 } 145 }
143 146