mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
Refractor activities sending
This commit is contained in:
parent
d61b817890
commit
a2377d15ee
11 changed files with 140 additions and 155 deletions
|
@ -393,9 +393,9 @@ async function viewVideo (req: express.Request, res: express.Response) {
|
|||
Redis.Instance.setIPVideoView(ip, videoInstance.uuid)
|
||||
])
|
||||
|
||||
const serverAccount = await getServerActor()
|
||||
const serverActor = await getServerActor()
|
||||
|
||||
await sendCreateView(serverAccount, videoInstance, undefined)
|
||||
await sendCreateView(serverActor, videoInstance, undefined)
|
||||
|
||||
return res.status(204).end()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue