Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async getValue() {
let values = await EntitiesAttribute.prototype.getValue.call(this);
Array.isArray(values) &&
values.map(value => {
if (value instanceof this.getEntitiesClass()) {
if (this.storage) {
value.setStorage(this.storage).setStorageFolder(this.storageFolder);
}
}
});
return values;
}
async getStorageValue() {
return JSON.stringify(await BaseEntitiesAttribute.prototype.getStorageValue.call(this));
}
async getStorageValue() {
return JSON.stringify(await BaseEntitiesAttribute.prototype.getStorageValue.call(this));
}