From 7173179d6fe41dd2ddaf79a903e61a634a71660b Mon Sep 17 00:00:00 2001 From: Avior Date: Thu, 4 Nov 2021 12:30:08 +0100 Subject: [PATCH] Fix: card endpoint (#137) * Fixed duplication bug Signed-off-by: Avior * Fixed Signed-off-by: Avior --- server/src/V2/endpoints/jsonEndpoints.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/server/src/V2/endpoints/jsonEndpoints.ts b/server/src/V2/endpoints/jsonEndpoints.ts index 3c7bcadb6..f98f0ddde 100644 --- a/server/src/V2/endpoints/jsonEndpoints.ts +++ b/server/src/V2/endpoints/jsonEndpoints.ts @@ -65,7 +65,6 @@ server // to be quicker we directly return the raw file if (objectSize(req.query) === 0) { result = Card.raw(lang) - return } else { result = Card .find(lang, req.query)