Removed the adminSecret because it does not exist here, API only.
This commit is contained in:
parent
cd76404fe8
commit
3c35824dc5
@ -10,7 +10,6 @@ import (
|
||||
type Configs struct {
|
||||
ServerAddress string
|
||||
JwtSecret string
|
||||
AdminSecret string
|
||||
}
|
||||
|
||||
func New() Configs {
|
||||
@ -23,7 +22,6 @@ func getEnvConfig() Configs {
|
||||
return Configs{
|
||||
ServerAddress: os.Getenv("ServerAddress"),
|
||||
JwtSecret: os.Getenv("JwtSecret"),
|
||||
AdminSecret: os.Getenv("AdminSecret"),
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user