Merge branch 'master' into post-metadata
Этот коммит содержится в:
@@ -690,6 +690,7 @@ func GenerateClientConfig(c *model.Config, diagnosticId string, license *model.L
|
||||
|
||||
if *license.Features.CustomTermsOfService {
|
||||
props["EnableCustomTermsOfService"] = strconv.FormatBool(*c.SupportSettings.CustomTermsOfServiceEnabled)
|
||||
props["CustomTermsOfServiceReAcceptancePeriod"] = strconv.FormatInt(int64(*c.SupportSettings.CustomTermsOfServiceReAcceptancePeriod), 10)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -4,9 +4,10 @@
|
||||
package testutils
|
||||
|
||||
import (
|
||||
"github.com/mattermost/mattermost-server/services/httpservice"
|
||||
"net/http"
|
||||
"net/http/httptest"
|
||||
|
||||
"github.com/mattermost/mattermost-server/services/httpservice"
|
||||
)
|
||||
|
||||
type MockedHTTPService struct {
|
||||
|
||||
Ссылка в новой задаче
Block a user