Skip to content

Commit 5179c55

Browse files
committed
Update comment
1 parent b049399 commit 5179c55

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dotcom-rendering/src/client/userFeatures/user-features.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
*/
5252
const persistResponse = (userBenefitsResponse: UserBenefits) => {

0 commit comments

Comments
 (0)