Skip to content

Commit

Permalink
Run linter and prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
britneywwc committed Jan 14, 2025
1 parent ba96342 commit d7819ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion static/js/src/cookie-policy-with-callback.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ function setUtmCookies(urlParams) {
if (utmParams.endsWith("&")) {
utmParams = utmParams.slice(0, -1);
}
document.cookie = "utms=" + encodeURIComponent(utmParams) + ";max-age=86400;path=/;";
document.cookie =
"utms=" + encodeURIComponent(utmParams) + ";max-age=86400;path=/;";
}
}

Expand Down
2 changes: 1 addition & 1 deletion webapp/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -993,7 +993,7 @@ def marketo_submit():
],
}

encoded_utms = flask.request.cookies.get("utms")
encoded_utms = flask.request.cookies.get("utms")
if encoded_utms:
utms = unquote(encoded_utms)
utm_dict = dict(i.split(":", 1) for i in utms.split("&"))
Expand Down

0 comments on commit d7819ca

Please sign in to comment.