瀏覽代碼

send userId with api call to create plan

pull/1/head
Jonathan Cobb 4 年之前
父節點
當前提交
0f3b381690
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/account/NewNetworkPage.vue

+ 1
- 1
src/account/NewNetworkPage.vue 查看文件

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


Loading…
取消
儲存