Browse Source

send userId with api call to create plan

pull/1/head
Jonathan Cobb 4 years ago
parent
commit
0f3b381690
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/account/NewNetworkPage.vue

+ 1
- 1
src/account/NewNetworkPage.vue View File

@@ -444,6 +444,7 @@
} else { } else {
console.log('sending accountPlan: ' + JSON.stringify(this.accountPlan) + ' cloud/region=' + cloudRegion.cloud + '/' + cloudRegion.internalName); console.log('sending accountPlan: ' + JSON.stringify(this.accountPlan) + ' cloud/region=' + cloudRegion.cloud + '/' + cloudRegion.internalName);
this.addPlanAndStartNetwork({ this.addPlanAndStartNetwork({
userId: this.user.uuid,
accountPlan: this.accountPlan, accountPlan: this.accountPlan,
cloud: cloudRegion.cloud, cloud: cloudRegion.cloud,
region: cloudRegion.internalName, region: cloudRegion.internalName,
@@ -477,7 +478,6 @@
}, },
nearestRegions (regions) { nearestRegions (regions) {
if (regions) { if (regions) {
console.log('nearestRegions: received: '+regions.length+' regions');
this.regions = regions; this.regions = regions;
if (this.cloudRegionUuid === null || (typeof regions.find(r => r.uuid === this.cloudRegionUuid) === 'undefined')) { if (this.cloudRegionUuid === null || (typeof regions.find(r => r.uuid === this.cloudRegionUuid) === 'undefined')) {
this.cloudRegionUuid = regions[0].uuid; this.cloudRegionUuid = regions[0].uuid;


Loading…
Cancel
Save