From a2b1fc1bd95f0b3368ea651a086d8f594518f776 Mon Sep 17 00:00:00 2001 From: djeck1432 Date: Fri, 29 Nov 2024 13:52:19 +0100 Subject: [PATCH] fix --- apps/dashboard_app/.env.dev | 9 ++------- apps/dashboard_app/helpers/load_data.py | 1 - 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/apps/dashboard_app/.env.dev b/apps/dashboard_app/.env.dev index e93426e2..bd101b05 100644 --- a/apps/dashboard_app/.env.dev +++ b/apps/dashboard_app/.env.dev @@ -1,11 +1,6 @@ -DERISK_API_URL=# - -ENV=dev # PostgreSQL DB_USER=postgres DB_PASSWORD=postgres DB_NAME=dashboard_app -DB_HOST=db -DB_PORT=5432 - -DATA_HANDLER_URL=http://localhost:5000 \ No newline at end of file +DB_HOST=localhost +DB_PORT=5432 \ No newline at end of file diff --git a/apps/dashboard_app/helpers/load_data.py b/apps/dashboard_app/helpers/load_data.py index 6bdcf55b..0096021f 100644 --- a/apps/dashboard_app/helpers/load_data.py +++ b/apps/dashboard_app/helpers/load_data.py @@ -19,7 +19,6 @@ from dashboard_app.helpers.tools import get_prices logger = logging.getLogger(__name__) -data_connector = DataConnector() class DashboardDataHandler: