Fixing issue discovered by cypress test.
This commit is contained in:
parent
960ea66fd7
commit
a9c6395d72
|
@ -44,7 +44,7 @@ exports.getAppMetadata = async (appId, CouchDB = null) => {
|
||||||
throw err
|
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
|
// we've stored in the cache an object to tell us that it is currently invalid
|
||||||
if (!metadata || metadata.state === AppState.INVALID) {
|
if (!metadata || metadata.state === AppState.INVALID) {
|
||||||
|
|
Loading…
Reference in New Issue