From 7055959de3f80c12b151561ff1d32224b0d43d42 Mon Sep 17 00:00:00 2001 From: Benjamin Frost Date: Wed, 27 Jul 2022 16:23:10 +0200 Subject: [PATCH] fix: wrong default value for env --- .github/workflows/annotation-server.yml | 2 +- annotation-server/src/common/validations/env.validation.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/annotation-server.yml b/.github/workflows/annotation-server.yml index 80e3fa643..3fa3fe937 100644 --- a/.github/workflows/annotation-server.yml +++ b/.github/workflows/annotation-server.yml @@ -1,4 +1,4 @@ -name: Annotation Server1 +name: Annotation Server on: push: diff --git a/annotation-server/src/common/validations/env.validation.ts b/annotation-server/src/common/validations/env.validation.ts index 578e866a6..ee0a22f3a 100644 --- a/annotation-server/src/common/validations/env.validation.ts +++ b/annotation-server/src/common/validations/env.validation.ts @@ -13,8 +13,8 @@ export const envSchema = Joi.object({ DB_PASS: Joi.string().default('admin'), DB_NAME: Joi.string().default('annotation_db'), // Medications - DRUGBANK_ZIP: Joi.string().default('data/minimal-full-database.zip'), - DRUGBANK_XML: Joi.string().default('minimal-full-database.xml'), + DRUGBANK_ZIP: Joi.string().default('data/example-database.zip'), + DRUGBANK_XML: Joi.string().default('example-database.xml'), // Google Sheets GOOGLESHEET_ID: Joi.string().required(), GOOGLESHEET_APIKEY: Joi.string().required(),