mirror of
https://github.com/mattermost/focalboard.git
synced 2024-12-24 13:43:12 +02:00
9b9682f626
* create FeatureFlags in configurations * update for unit tests * update unit tests, go.mod * update go.sum * fix lint errors Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
15 lines
374 B
Go
15 lines
374 B
Go
package app
|
|
|
|
import (
|
|
"github.com/mattermost/focalboard/server/model"
|
|
)
|
|
|
|
func (a *App) GetClientConfig() *model.ClientConfig {
|
|
return &model.ClientConfig{
|
|
Telemetry: a.config.Telemetry,
|
|
TelemetryID: a.config.TelemetryID,
|
|
EnablePublicSharedBoards: a.config.EnablePublicSharedBoards,
|
|
FeatureFlags: a.config.FeatureFlags,
|
|
}
|
|
}
|