remove qa key

This commit is contained in:
Jakub
2020-12-21 09:25:33 +01:00
committed by James Houlahan
parent b36ac532c9
commit 56e32e67de
3 changed files with 40 additions and 106 deletions

View File

@ -166,14 +166,14 @@ func fetch(app, platform string) map[string]versionInfo {
res, err := resty.New().R().Get(url)
if err != nil {
println("fetch failed", err.Error())
logrus.WithError(err).Error("Fetch failed.")
return make(map[string]versionInfo)
}
var versionMap map[string]versionInfo
if err := json.Unmarshal(res.Body(), &versionMap); err != nil {
println("unmarshal failed", err.Error())
logrus.WithError(err).Error("Unmarshal failed.")
return make(map[string]versionInfo)
}