fix(core): update

This commit is contained in:
2018-09-08 01:11:25 +02:00
parent 58bcf0cea2
commit 57f50ef507
4 changed files with 39 additions and 54 deletions

View File

@@ -6,7 +6,7 @@ export class SmartCache {
async cacheReturn(asyncCachedFuncArg: () => Promise<any>, cacheDuration: number = 5000) {
let callStack: string = new plugins.smarterror.SmartError('').cleanFullStack;
let callHash = plugins.nodehash.sha256FromStringSync(callStack);
let callHash = plugins.smarthash.sha256FromStringSync(callStack);
// console.log(callHash);
if (