From 0159c67c80e59cf1cd0ed3fdaf1b73f4303ceb5b Mon Sep 17 00:00:00 2001 From: Joan Picornell Date: Sun, 24 Nov 2024 22:04:05 +0100 Subject: [PATCH] Removed definition of empty users object This is not needed anymore Co-authored-by: Siyavash Habashi --- src/server/Server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/Server.ts b/src/server/Server.ts index 1d1f937..0ed7b9b 100644 --- a/src/server/Server.ts +++ b/src/server/Server.ts @@ -23,7 +23,7 @@ const mailHandler = new MailHandler(process.env.MAIL_HISTORY_DURATION); const apiAuthentication = process.env.AUTHENTICATION ? { enabled: true, users: authenticationUsers(process.env.AUTHENTICATION) } - : { enabled: false, users: {} }; + : { enabled: false }; const rateLimitConfiguration = { enabled: process.env.RATE_LIMIT_ENABLED === 'true',