Fix fuckup with weight service

This commit is contained in:
2024-08-09 23:40:19 +02:00
parent d8af4f342a
commit e8da257bf1
2 changed files with 3 additions and 3 deletions

View File

@@ -37,7 +37,6 @@ var (
settingsService *SettingsService
foodService *FoodService
weightService *WeightService
db *DB
)
func main() {
@@ -60,6 +59,7 @@ func main() {
log.Printf("Loaded settings as: %++v", Settings)
foodService = &FoodService{db: &db}
weightService = &WeightService{db: &db}
// Create an instance of the app structure
app := NewApp()