fix(xo-server/store): missing await

This commit is contained in:
Julien Fontanet
2019-12-26 11:09:28 +01:00
parent ea8735f390
commit 79ef01cb25

View File

@@ -37,7 +37,7 @@ export default class {
async getStore(namespace) {
return levelHas(
sublevel(this._db, namespace, {
sublevel(await this._db, namespace, {
valueEncoding: 'json',
})
)