]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/request/request-video-event.ts
Don't cache torrent files
[github/Chocobozzz/PeerTube.git] / server / models / request / request-video-event.ts
index 90ea15702b859ccb98d2ccd4bb5cef4cc779ee77..4862a57451632cd50f4fa0171527ede5b1b519df 100644 (file)
@@ -160,7 +160,7 @@ removeAll = function () {
 function groupAndTruncateRequests (events: RequestVideoEventInstance[], limitRequestsPerPod: number) {
   const eventsGrouped: RequestsVideoEventGrouped = {}
 
-  events.forEach(function (event) {
+  events.forEach(event => {
     const pod = event.Video.Author.Pod
 
     if (!eventsGrouped[pod.id]) eventsGrouped[pod.id] = []