1
0
Fork 0
mirror of synced 2024-06-29 19:41:03 +12:00

Fixing issue discovered by cypress test.

This commit is contained in:
mike12345567 2021-11-16 15:23:02 +00:00
parent 960ea66fd7
commit a9c6395d72

View file

@ -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) {