]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/controllers/activitypub/outbox.ts
Check latest plugins version
[github/Chocobozzz/PeerTube.git] / server / controllers / activitypub / outbox.ts
index e060affb2aa7af292572f74adc5dff9863280625..38b6ec9764bd9365c84546b5178d8eb7e163a830 100644 (file)
@@ -33,7 +33,7 @@ export {
 // ---------------------------------------------------------------------------
 
 async function outboxController (req: express.Request, res: express.Response) {
-  const accountOrVideoChannel: AccountModel | VideoChannelModel = res.locals.account || res.locals.videoChannel
+  const accountOrVideoChannel = res.locals.account || res.locals.videoChannel
   const actor = accountOrVideoChannel.Actor
   const actorOutboxUrl = actor.url + '/outbox'