updated packages

This commit is contained in:
2020-02-10 08:58:28 -06:00
parent e8d9651db0
commit d5ed3470ce
2 changed files with 6 additions and 2 deletions

View File

@@ -132,5 +132,8 @@
} }
} }
}, },
"defaultProject": "HPIoTWebApp" "defaultProject": "HPIoTWebApp",
"cli": {
"analytics": false
}
} }

View File

@@ -37,7 +37,8 @@ export class ConfigsComponent implements OnInit {
// Setup a function for onChangeCertificateID to get said config and load the form dynamically // Setup a function for onChangeCertificateID to get said config and load the form dynamically
onCertificateChange(e) { onCertificateChange(e) {
console.log(e.target.value); console.log(e.target.value);
const config = this.http.get('https://4ax24ru9ra.execute-api.us-east-1.amazonaws.com/Gamma/HPIoTgetConfig/?certificateID=' + e.target.value); const config = this.http.get('https://4ax24ru9ra.execute-api.us-east-1.amazonaws.com/Gamma/HPIoTgetConfig/?certificateID='
+ e.target.value);
console.log(config); console.log(config);
const numberOfDevices = 3; const numberOfDevices = 3;
if (this.devicesArray.length < numberOfDevices) { if (this.devicesArray.length < numberOfDevices) {