1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-19 05:31:28 +00:00
This commit is contained in:
Scott Tolksdorf
2017-01-01 11:08:08 -08:00
parent 68ecf749ea
commit 25e0a1607a
4 changed files with 31 additions and 8 deletions

View File

@@ -17,13 +17,7 @@ module.exports = {
should: should,
clearCache: () => {
return new Promise((resolve, reject) => {
Cache.getRawClientYesIKnowWhatImDoing()
.flushdb((err) => {
if (err) {
return reject(new Error(err));
}
resolve();
});
return resolve();
});
},
};