src/endpoints/account.js
async function isStaleWeeklyData (endpointInstance) {
  const account = await new AccountEndpoint(endpointInstance).schema('2019-03-26').get()
  return new Date(account.last_modified) < resetTime.getLastWeeklyReset()
}
async function isStaleWeeklyData (endpointInstance) {
  const account = await new AccountEndpoint(endpointInstance).schema('2019-03-26').get()
  return new Date(account.last_modified) < resetTime.getLastWeeklyReset()
}
async function isStaleWeeklyData ( endpointInstance ) { const account = await new AccountEndpoint ( endpointInstance ) . schema ( '2019-03-26' ) . get ( ) return new Date ( account . last_modified ) < resetTime . getLastWeeklyReset ( ) }
Stale data can happen if the last account update was before the last weekly reset
Stale data can happen if the last account update was before the last weekly reset