From 8bb37bbc210afb8ae947f84e22f4b86524b80eab Mon Sep 17 00:00:00 2001 From: cami Date: Sat, 24 Jul 2021 02:11:17 +0200 Subject: [PATCH] Updated to upstream --- docker-compose.prod.yml | 2 ++ frontend/src/components/pages/Study.jsx | 8 +++----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index ec741e6..9c7cbf9 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -8,6 +8,8 @@ services: backend-prod: image: caminsha/bt-backend container_name: backend-prod + volumes: + - "./database.db:/app/database.db:z" environment: DEBUG: "no" PORT: 5050 diff --git a/frontend/src/components/pages/Study.jsx b/frontend/src/components/pages/Study.jsx index 48e4718..92de04d 100644 --- a/frontend/src/components/pages/Study.jsx +++ b/frontend/src/components/pages/Study.jsx @@ -110,11 +110,9 @@ export default function Study() { setState(STATES.NORMAL); handleLoggerOn(); // map username and session with the logs - _logger.current.logCustomEvent( - { - name: serverUsername, - }, - ); + _logger.current.logCustomEvent({ + name: serverUsername, + }); }; const resetInputValues = () => {