mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
MM-8593 Default APIv3 to disabled for new installs (#8353)
* Default APIv3 to disabled for new installs * Add EnableAPIv3 setting to client config * Enable APIv3 for needed tests
This commit is contained in:
committed by
Christopher Speller
parent
4211a2bb3c
commit
5fb4b1bc93
@@ -59,6 +59,7 @@ func Setup() *app.App {
|
||||
|
||||
a.UpdateConfig(func(cfg *model.Config) {
|
||||
*cfg.TeamSettings.EnableOpenServer = true
|
||||
*cfg.ServiceSettings.EnableAPIv3 = true
|
||||
})
|
||||
|
||||
return a
|
||||
|
||||
Reference in New Issue
Block a user