Преглед на файлове

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;


Зареждане…
Отказ
Запис