File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
dotcom-rendering/src/client/userFeatures Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,11 @@ const USER_BENEFITS_COOKIE_EXPIRATION_IN_DAYS = 30;
4242/**
4343 * Persist the user benefits response to cookies
4444 *
45- * If new cookies are added/removed/edited, update the persistUserBenefitsCookie function in Gateway
46- * https://github.com/guardian/gateway/blob/252b2b2f24be826da42c6e7c1b1e202594184023/src/server/lib/user-features.ts#L88
47- *
45+ * If new cookies are added/removed/edited, update the persistUserBenefitsCookies function in Gateway.
4846 * In gateway, the cookies are set after authentication.
4947 *
48+ * This code also exist in frontend, so any changes here should be mirrored there.
49+ *
5050 * @param {UserBenefits } userBenefitsResponse
5151 */
5252const persistResponse = ( userBenefitsResponse : UserBenefits ) => {
You can’t perform that action at this time.
0 commit comments