Skip to content

Commit b0d4175

Browse files
author
Nicholas Case
committed
Merge branch 'master' into candidate
2 parents e97b452 + 7d4f794 commit b0d4175

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/cookie/cookie.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,13 +304,15 @@ function readPublisherConsentCookie() {
304304
return config.storePublisherConsentGlobally ?
305305
readGlobalPublisherConsentCookie() : readLocalPublisherConsentCookie();
306306
}
307+
return Promise.resolve();
307308
}
308309

309310
function writePublisherConsentCookie(publisherConsentData) {
310311
if (config.storePublisherData) {
311312
return config.storePublisherConsentGlobally ?
312313
writeGlobalPublisherConsentCookie(publisherConsentData) : writeLocalPublisherConsentCookie(publisherConsentData);
313314
}
315+
return Promise.resolve();
314316
}
315317

316318
/**

0 commit comments

Comments
 (0)