fix: VIKUNJA_SERVICE_JWT_SECRET should be VIKUNJA_SERVICE_JWTSECRET (#1184)
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/1184 Reviewed-by: konrad <k@knt.li> Co-authored-by: k2s <k2s@noreply.kolaente.de> Co-committed-by: k2s <k2s@noreply.kolaente.de>
This commit is contained in:
parent
92a87cfe4f
commit
172a6214d7
2 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,7 @@ Default: `<jwt-secret>`
|
||||||
|
|
||||||
Full path: `service.JWTSecret`
|
Full path: `service.JWTSecret`
|
||||||
|
|
||||||
Environment path: `VIKUNJA_SERVICE_JWT_SECRET`
|
Environment path: `VIKUNJA_SERVICE_JWTSECRET`
|
||||||
|
|
||||||
|
|
||||||
### jwtttl
|
### jwtttl
|
||||||
|
|
|
@ -1051,7 +1051,7 @@ func printConfig(config []*configOption, level int, parent string) (rendered str
|
||||||
fullPath := parent + "." + option.key
|
fullPath := parent + "." + option.key
|
||||||
|
|
||||||
rendered += "Full path: `" + fullPath + "`\n\n"
|
rendered += "Full path: `" + fullPath + "`\n\n"
|
||||||
rendered += "Environment path: `VIKUNJA_" + strcase.ToScreamingSnake(fullPath) + "`\n\n"
|
rendered += "Environment path: `VIKUNJA_" + strcase.ToScreamingSnake(strings.ToUpper(fullPath)) + "`\n\n"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue