PLT-7408 Move webhook handling into api4 package to fix EnableAPIv3 config setting (#7219)
* Move webhook handling into api4 package to fix EnableAPIv3 config setting * Fix unit test
Этот коммит содержится в:
коммит произвёл
Saturnino Abril
родитель
7d3719b5c6
Коммит
0033e3e37b
@@ -8,6 +8,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/mattermost/platform/api"
|
||||
"github.com/mattermost/platform/api4"
|
||||
"github.com/mattermost/platform/app"
|
||||
"github.com/mattermost/platform/model"
|
||||
"github.com/mattermost/platform/store"
|
||||
@@ -26,6 +27,7 @@ func Setup() {
|
||||
app.InitStores()
|
||||
api.InitRouter()
|
||||
app.StartServer()
|
||||
api4.InitApi(false)
|
||||
api.InitApi()
|
||||
InitWeb()
|
||||
URL = "http://localhost" + utils.Cfg.ServiceSettings.ListenAddress
|
||||
|
||||
Ссылка в новой задаче
Block a user