[MM-38075] Update server dependency (#158)

This commit is contained in:
Ben Schumacher 2021-09-07 17:47:26 +02:00 committed by GitHub
parent a80b066195
commit 4571b3b71c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 7 deletions

View file

@ -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)
}