aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/request/request-video-event.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/request/request-video-event.ts')
-rw-r--r--server/models/request/request-video-event.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/request/request-video-event.ts b/server/models/request/request-video-event.ts
index 90ea15702..4862a5745 100644
--- a/server/models/request/request-video-event.ts
+++ b/server/models/request/request-video-event.ts
@@ -160,7 +160,7 @@ removeAll = function () {
160function groupAndTruncateRequests (events: RequestVideoEventInstance[], limitRequestsPerPod: number) { 160function groupAndTruncateRequests (events: RequestVideoEventInstance[], limitRequestsPerPod: number) {
161 const eventsGrouped: RequestsVideoEventGrouped = {} 161 const eventsGrouped: RequestsVideoEventGrouped = {}
162 162
163 events.forEach(function (event) { 163 events.forEach(event => {
164 const pod = event.Video.Author.Pod 164 const pod = event.Video.Author.Pod
165 165
166 if (!eventsGrouped[pod.id]) eventsGrouped[pod.id] = [] 166 if (!eventsGrouped[pod.id]) eventsGrouped[pod.id] = []