Fix bug where JWT token clearing premium status (#3373)

This commit is contained in:
David Perez 2024-06-27 15:30:51 -05:00 committed by GitHub
parent 4f5454b4b7
commit 0f838965fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 2 deletions

View file

@ -24,7 +24,6 @@ fun RefreshTokenResponseJson.toUserStateJson(
email = jwtTokenData.email,
isEmailVerified = jwtTokenData.isEmailVerified,
name = jwtTokenData.name,
hasPremium = jwtTokenData.hasPremium,
),
)

View file

@ -103,7 +103,6 @@ private val ACCOUNT_1_UPDATED = ACCOUNT_1.copy(
email = JWT_TOKEN_DATA.email,
isEmailVerified = JWT_TOKEN_DATA.isEmailVerified,
name = JWT_TOKEN_DATA.name,
hasPremium = JWT_TOKEN_DATA.hasPremium,
),
)