From 6f3301e1c9739db6170a3badea26ec73388cdd1c Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Mon, 11 Jan 2021 16:34:17 -0700 Subject: [PATCH] Allow "sheets" to be used in the config --- server/src/utils/validate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/utils/validate.ts b/server/src/utils/validate.ts index 62ffe6a..b628dec 100644 --- a/server/src/utils/validate.ts +++ b/server/src/utils/validate.ts @@ -12,7 +12,7 @@ export class Validate { }; // Assert data in the game object - if (![`csv`].includes(conf.game.cards.type)) { + if (![`csv`, `sheets`].includes(conf.game.cards.type)) { log.error(`Unsupported cards type: ${conf.game.cards.type}`); valid = false; };