features/jwt-adustments #17

Merged
jtom38 merged 3 commits from features/jwt-adustments into main 2024-04-13 11:55:43 -07:00
Showing only changes of commit 8e5867c46d - Show all commits

View File

@ -16,7 +16,7 @@ func NewEnvConfig() domain.EnvConfig {
log.Println(err)
}
disableMigrations, err := strconv.ParseBool(os.Getenv("DisableMigrationsOnStartup"))
disableMigrations, err := strconv.ParseBool(os.Getenv("DisableMigrationsOnStartup"))
if err != nil {
disableMigrations = false
}
@ -24,6 +24,7 @@ func NewEnvConfig() domain.EnvConfig {
return domain.EnvConfig{
AdminToken: os.Getenv("AdminToken"),
JwtSecret: os.Getenv("JwtSecret"),
ApiUri: os.Getenv("ApiUri"),
DisableMigrationsOnStartUp: disableMigrations,
}
}