initial steps for localisation

This commit is contained in:
Harvey Tindall
2020-10-30 22:51:47 +00:00
parent 95c9f4f42d
commit d64d5c194f
8 changed files with 104 additions and 40 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ func newOmbi(server, key string, noFail bool) *Ombi {
}
}
// does a GET and returns the response as an io.reader.
// does a GET and returns the response as a string.
func (ombi *Ombi) _getJSON(url string, params map[string]string) (string, int, error) {
if ombi.key == "" {
return "", 401, fmt.Errorf("No API key provided")