From bc6caf8b9399f8b97d93a173afd7bd3f11af9ffd Mon Sep 17 00:00:00 2001 From: rg2011 <52279456+rg2011@users.noreply.github.com> Date: Thu, 8 Aug 2024 15:19:35 +0200 Subject: [PATCH] remove wrong comment --- lib/services/stats/statsRegistry.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/services/stats/statsRegistry.js b/lib/services/stats/statsRegistry.js index acdcf27b7..791551275 100644 --- a/lib/services/stats/statsRegistry.js +++ b/lib/services/stats/statsRegistry.js @@ -113,7 +113,6 @@ function matchContentType(accepts) { // same priority, sort by media type. return (mediaTypePref[b.mediaType] || 0) - (mediaTypePref[a.mediaType] || 0); } - // Beware! preference difference is usually a decima return b.preference - a.preference; }); for (const req of requestedType) {