Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.subscribe(data => {
if(!this.options.content)
this.options.content = {};
this.options.content.header = data['cookie.header'];
this.options.content.message = data['cookie.message'];
this.options.content.dismiss = data['cookie.dismiss'];
this.options.content.allow = data['cookie.allow'];
this.options.content.deny = data['cookie.deny'];
this.options.content.link = data['cookie.link'];
this.options.content.policy = data['cookie.policy'];
this.updateConfig();
});
}