Skip to content

Commit

Permalink
banner handling
Browse files Browse the repository at this point in the history
  • Loading branch information
MysterieDev committed Sep 13, 2021
1 parent 8881b98 commit c5e8c54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions solid-frontend-dev/src/consent-handling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ export function setConsentReqCookie() {
});
}
export function setConsentFunCookie(allowed: boolean) {
return Cookies.set(consentMarCookie, allowed ? "TRUE" : "FALSE", {
return Cookies.set(consentFunCookie, allowed ? "TRUE" : "FALSE", {
expires: consentDurationInDays,
});
}

export function setConsentMarCookie(allowed: boolean) {
return Cookies.set(consentFunCookie, allowed ? "TRUE" : "FALSE", {
return Cookies.set(consentMarCookie, allowed ? "TRUE" : "FALSE", {
expires: consentDurationInDays,
});
}
Expand Down

0 comments on commit c5e8c54

Please sign in to comment.