From 66542aa3d9ecf0fb1c666aa29a40c82f7d194e32 Mon Sep 17 00:00:00 2001 From: Erik Verheul Date: Tue, 9 Jul 2024 20:16:52 +0200 Subject: [PATCH] Remove dead code --- nodejs/app.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/nodejs/app.js b/nodejs/app.js index 3de9cb88..5db241c1 100644 --- a/nodejs/app.js +++ b/nodejs/app.js @@ -68,12 +68,6 @@ function getItemStateText(dbName, idx) { return configData[dbName].itemState[idx] } -function getEmail(user) { - configData.userToEmailMap.forEach(element => { - if (element.user === user) return element.email - }) -} - function getTsSize(dbName, idx) { if (idx < 0 || idx >= configData[dbName].tsSize.length) { return 'Error: unknown T-shirt size'