created GetMiscLookupByKey

for values we do not want hard coded but that are not worth its own struct
This commit is contained in:
2026-01-14 21:13:25 +01:00
parent 7775170634
commit c0a4b656d4
6 changed files with 100 additions and 27 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ func main() {
/*
// Populate initial misc lookup data
logger.Debug("Initialisiere Misc-Lookup-Daten...")
if err := models.PopulateMiscLookupData(); err != nil {
if err := gsmaster.PopulateMiscLookupData(); err != nil {
logger.Warn("Fehler beim Initialisieren der Misc-Lookup-Daten: %s", err.Error())
} else {
logger.Info("Misc-Lookup-Daten erfolgreich initialisiert")