From 293f0bcc48ecfda99492f12d4624488820d1a331 Mon Sep 17 00:00:00 2001 From: Pieter Brandsen Date: Sun, 29 Sep 2024 01:24:27 +0200 Subject: [PATCH] Fixed tests --- src/data/combineResults.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/combineResults.js b/src/data/combineResults.js index aa4d793..69d086d 100644 --- a/src/data/combineResults.js +++ b/src/data/combineResults.js @@ -98,7 +98,7 @@ export default function handleCombinedRoomStats(shardsData, userData) { } } - if (process.env.ONLY_COMBINED_DATA_UPLOAD.toLowerCase() === "true") + if ((process.env.ONLY_COMBINED_DATA_UPLOAD || "").toLowerCase() === "true") delete userStats.shards; return { stats: userStats }