Archived
Rename RawAPIKey -> APIKey in GUIConfiguration
This commit is contained in:
1 parent
5d4bfdabd6
commit
e93c766c42
4 files changed
+8
-8
No files matched your search
@@ -480,7 +480,7 @@ func upgradeViaRest() error {
|
||||
cfg, _ := loadConfig()
|
||||
target := cfg.GUI().URL()
|
||||
r, _ := http.NewRequest("POST", target+"/rest/system/upgrade", nil)
|
||||
r.Header.Set("X-API-Key", cfg.GUI().RawAPIKey)
|
||||
r.Header.Set("X-API-Key", cfg.GUI().APIKey)
|
||||
|
||||
tr := &http.Transport{
|
||||
Dial: dialer.Dial,
|
||||
|
||||
Reference in new issue
Block a user