fix(core): update

This commit is contained in:
Philipp Kunz 2020-07-20 11:49:49 +00:00
parent 04702c4098
commit 849f4f617b

View File

@ -13,6 +13,10 @@ export class SmartCls {
public get(keyArg: string) {
const store: any = this.asyncLocalStorage.getStore();
return store[keyArg];
if (store) {
return store[keyArg];
} else {
return undefined;
}
}
}