fix(core): update

This commit is contained in:
Philipp Kunz 2020-10-20 21:50:21 +00:00
parent e18fd0178d
commit 5f2350a9e7

View File

@ -29,7 +29,7 @@ export class CsWebclient {
plugins.csInterfaces.IWebclientSettings['acceptedCookieLevels'] plugins.csInterfaces.IWebclientSettings['acceptedCookieLevels']
> { > {
const result = await this.webstore.get('acceptedCookieLevels'); const result = await this.webstore.get('acceptedCookieLevels');
return result.acceptedCookieLevels; return result?.acceptedCookieLevels;
} }
public async isCookieLevelStillValid(): Promise<boolean> { public async isCookieLevelStillValid(): Promise<boolean> {