diff --git a/backend/src/app/goals/goal.service.spec.ts b/backend/src/app/goals/goal.service.spec.ts index d2bb83e..410806c 100644 --- a/backend/src/app/goals/goal.service.spec.ts +++ b/backend/src/app/goals/goal.service.spec.ts @@ -79,7 +79,7 @@ describe('GoalService', () => { target: 200, value: 100, metric: 'steps', - synced: dayjs().subtract(2, 'hours').toDate(), + synced: goal.synced, } as Goal); const goals = await goalService.getGoalsForUser( diff --git a/docker-compose.yml b/docker-compose.yml index e13b366..b34aa52 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,6 +10,7 @@ services: - backend volumes: - database:/usr/src/app/database + - ${PWD}/.env:/usr/src/app/.env webserver: build: ./frontend ports: