mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-25 14:38:28 +00:00
Fix version in config.Defaults
This commit is contained in:
parent
81ac9bb440
commit
1628db8f8f
1 changed files with 1 additions and 1 deletions
|
@ -292,7 +292,7 @@ func (config *Dendrite) Derive() error {
|
|||
|
||||
// SetDefaults sets default config values if they are not explicitly set.
|
||||
func (c *Dendrite) Defaults(generate bool) {
|
||||
c.Version = 1
|
||||
c.Version = Version
|
||||
|
||||
c.Global.Defaults(generate)
|
||||
c.ClientAPI.Defaults(generate)
|
||||
|
|
Loading…
Reference in a new issue