gbrann / EVEProductionSuite

Eve Online - Production Suite is a set of Google and ESI tools to quickly and easily manage production, budget and basic corporate management with installing servers or adding any RL costs to your game play.
GNU General Public License v3.0
3 stars 0 forks source link

DEV - ESI Pull Refresh needs to updated #49

Closed gbrann closed 6 years ago

gbrann commented 6 years ago

Refresh token cell needs to be changed to 'Corporate Overview!L1" on all ESI pulls

gbrann commented 6 years ago

Changes to functions.gs as follow:

function corporations_corporation_assets_locations(item_ids, name, opt_headers) {
  if(!item_ids) throw 'item_ids is required';
  return parseData_(arguments.callee.name,{item_ids:item_ids,name:name,opt_headers:opt_headers})
}

was changed to:

function corporations_corporation_assets_locations(item_ids, name, opt_headers, refresh) {
  if(!item_ids) throw 'item_ids is required';
  return parseData_(arguments.callee.name,{item_ids:item_ids,name:name,opt_headers:opt_headers})
}
function markets_prices(opt_headers) {
  return parseData_(arguments.callee.name,{opt_headers:opt_headers})
}

was changed to:

function markets_prices(opt_headers, page, refresh) {
  return parseData_(arguments.callee.name,{opt_headers:opt_headers})
}

and

function corporations_corporation_shareholders(name, page, opt_headers) {
  return parseData_(arguments.callee.name,{name:name,page:page,opt_headers:opt_headers})
}

was changed to:

function corporations_corporation_shareholders(name, page, opt_headers, refresh) {
  return parseData_(arguments.callee.name,{name:name,page:page,opt_headers:opt_headers})
}
gbrann commented 6 years ago

Updated all ESI pulls in 1.2.0 DEV.

gbrann commented 6 years ago

Issues with ESI seem to be based on CCP update to v3

diagnosing. This may be hot bug to push on current release.

gbrann commented 6 years ago

Updated function.gs as follows:

function corporations_corporation_assets(name, page, opt_headers, refresh) {
  return parseData_(arguments.callee.name,{name:name,page:page,opt_headers:opt_headers})
}

added refresh to function

gbrann commented 6 years ago

HOT FIX 1.1.3 =

Changed functions.gs lines 1984-1986 to show:

function corporations_corporation_assets(name, page, opt_headers, refresh) {
  return parseData_(arguments.callee.name,{name:name,page:page,opt_headers:opt_headers})
}

This was preventing assets from updating correctly

gbrann commented 6 years ago

Fixed, verified, tested and closed!