diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-07-11 17:04:57 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-07-11 17:05:55 +0200 |
commit | 075f16caac5236cb04c98ae7b3a989766d764bb3 (patch) | |
tree | 9a30024aa771735a28d83d9a166033b82dbcaf60 /server/models/request/request-video-qadu.ts | |
parent | 4e979c3e1b81f4762025d9db3052b1f70774b3bb (diff) | |
download | PeerTube-075f16caac5236cb04c98ae7b3a989766d764bb3.tar.gz PeerTube-075f16caac5236cb04c98ae7b3a989766d764bb3.tar.zst PeerTube-075f16caac5236cb04c98ae7b3a989766d764bb3.zip |
Remove "function" in favor of () => {}
Diffstat (limited to 'server/models/request/request-video-qadu.ts')
-rw-r--r-- | server/models/request/request-video-qadu.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/request/request-video-qadu.ts b/server/models/request/request-video-qadu.ts index 74e28f129..9c97812b9 100644 --- a/server/models/request/request-video-qadu.ts +++ b/server/models/request/request-video-qadu.ts | |||
@@ -141,7 +141,7 @@ removeAll = function () { | |||
141 | function groupAndTruncateRequests (requests: RequestVideoQaduInstance[], limitRequestsPerPod: number) { | 141 | function groupAndTruncateRequests (requests: RequestVideoQaduInstance[], limitRequestsPerPod: number) { |
142 | const requestsGrouped = {} | 142 | const requestsGrouped = {} |
143 | 143 | ||
144 | requests.forEach(function (request) { | 144 | requests.forEach(request => { |
145 | const pod = request.Pod | 145 | const pod = request.Pod |
146 | 146 | ||
147 | if (!requestsGrouped[pod.id]) requestsGrouped[pod.id] = [] | 147 | if (!requestsGrouped[pod.id]) requestsGrouped[pod.id] = [] |