fix the 'ID' name

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-06-28 14:06:15 -07:00
parent 40ec27a48b
commit b10f647312
2 changed files with 5 additions and 2 deletions

View File

@ -30,6 +30,9 @@ func makeCloudInfoBox(gw *gui.GuiWindow) {
vbox := gui.NewBox(box, gui.Xaxis, fmt.Sprintf("ACCOUNT %d", key))
log.Println("account = ", key, a)
log.Println("Accounts[key] = ", config.Accounts[key])
if config.Accounts[key] == nil {
continue;
}
log.Println("account.Nick = ", config.Accounts[key].Nick)
log.Println("account.Username = ", config.Accounts[key].Username)
log.Println("account.Token = ", config.Accounts[key].Token)

View File

@ -3,7 +3,7 @@
"height": 600,
"accounts": [
{
"id": 42,
"ID": 42,
"nick": "Alpha jcarr",
"username": "jcarr@wit.com",
"email": "jcarr@wit.com",
@ -14,7 +14,7 @@
"domain": "jcarr.customers.wprod.wit.com"
},
{
"id": 44,
"ID": 44,
"nick": "Alpha alfonso",
"username": "alfonso@wit.com",
"email": "alfonso@wit.com",