Add in auth however there are no restrictions currently

This commit is contained in:
Peter Stockings
2025-02-01 22:42:58 +11:00
parent fb0e1519e4
commit 5be7438afc
10 changed files with 334 additions and 7 deletions

2
db.py
View File

@@ -18,7 +18,7 @@ from utils import get_exercise_graph_model
class DataBase():
def __init__(self, app):
def __init__(self, app=None):
self.calendar = Calendar(self.execute)
self.stats = Stats(self.execute)
self.workout = Workout(self.execute)