[MM-38075] Update server dependency (#158)
This commit is contained in:
parent
a80b066195
commit
4571b3b71c
5 changed files with 8 additions and 7 deletions
|
@ -2,6 +2,7 @@ package root
|
|||
|
||||
import (
|
||||
_ "embed" // Need to embed manifest file
|
||||
"encoding/json"
|
||||
"strings"
|
||||
|
||||
"github.com/mattermost/mattermost-server/v6/model"
|
||||
|
@ -13,5 +14,5 @@ var manifestString string
|
|||
var Manifest model.Manifest
|
||||
|
||||
func init() {
|
||||
Manifest = *model.ManifestFromJson(strings.NewReader(manifestString))
|
||||
_ = json.NewDecoder(strings.NewReader(manifestString)).Decode(&Manifest)
|
||||
}
|
||||
|
|
Reference in a new issue