Update remaining logic using viper
This commit is contained in:
@@ -340,8 +340,8 @@ func Get() *Configuration {
|
||||
// the global configuration.
|
||||
func Update(callback func(c *Configuration)) {
|
||||
mu.Lock()
|
||||
defer mu.Unlock()
|
||||
callback(_config)
|
||||
mu.Unlock()
|
||||
}
|
||||
|
||||
// GetJwtAlgorithm returns the in-memory JWT algorithm.
|
||||
|
||||
Reference in New Issue
Block a user