]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/controllers/activitypub/outbox.ts
Handle email update on server
[github/Chocobozzz/PeerTube.git] / server / controllers / activitypub / outbox.ts
index bd0e4fe9d471ba6966aaf465e66f28841336f30f..38b6ec9764bd9365c84546b5178d8eb7e163a830 100644 (file)
@@ -32,8 +32,8 @@ export {
 
 // ---------------------------------------------------------------------------
 
-async function outboxController (req: express.Request, res: express.Response, next: express.NextFunction) {
-  const accountOrVideoChannel: AccountModel | VideoChannelModel = res.locals.account || res.locals.videoChannel
+async function outboxController (req: express.Request, res: express.Response) {
+  const accountOrVideoChannel = res.locals.account || res.locals.videoChannel
   const actor = accountOrVideoChannel.Actor
   const actorOutboxUrl = actor.url + '/outbox'