goimports

This commit is contained in:
Neil Alexander 2021-01-18 13:01:37 +00:00
parent 210ef31b12
commit bb60b29b87
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -63,8 +63,8 @@ func Setup(
userInteractiveAuth := auth.NewUserInteractive(accountDB.GetAccountByPassword, cfg)
unstableFeatures := make(map[string]bool)
for _,msc := range cfg.MSCs.MSCs {
unstableFeatures["org.matrix." + msc] = true
for _, msc := range cfg.MSCs.MSCs {
unstableFeatures["org.matrix."+msc] = true
}
publicAPIMux.Handle("/versions",
@ -82,7 +82,7 @@ func Setup(
"r0.4.0",
"r0.5.0",
"r0.6.1",
},UnstableFeatures: unstableFeatures},
}, UnstableFeatures: unstableFeatures},
}
}),
).Methods(http.MethodGet, http.MethodOptions)