Browse Source

Fixing issue discovered by cypress test.

master
mike12345567 5 years ago
parent
commit
a7cf64ce9e
  1. 2
      packages/auth/src/cache/appMetadata.js

2
packages/auth/src/cache/appMetadata.js

@ -44,7 +44,7 @@ exports.getAppMetadata = async (appId, CouchDB = null) => {
throw err
}
}
client.store(appId, metadata, expiry)
await client.store(appId, metadata, expiry)
}
// we've stored in the cache an object to tell us that it is currently invalid
if (!metadata || metadata.state === AppState.INVALID) {

Loading…
Cancel
Save