Skip to content

Commit

Permalink
refactor(api): in /users/me remove unused pixOrgaTermsOfServiceAccept…
Browse files Browse the repository at this point in the history
…ed, pixCertifTermsOfServiceAccepted properties
  • Loading branch information
lego-technix authored and EmmanuelleBonnemay committed Jan 7, 2025
1 parent 9115569 commit f236898
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ const serialize = function (users, meta) {
'lastTermsOfServiceValidatedAt',
'lastDataProtectionPolicySeenAt',
'mustValidateTermsOfService',
'pixOrgaTermsOfServiceAccepted',
'pixCertifTermsOfServiceAccepted',
'lang',
'isAnonymous',
'accountInfo',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,6 @@ describe('Acceptance | Identity Access Management | Application | Route | User',
'is-anonymous': false,
'last-terms-of-service-validated-at': user.lastTermsOfServiceValidatedAt,
'must-validate-terms-of-service': user.mustValidateTermsOfService,
'pix-orga-terms-of-service-accepted': user.pixOrgaTermsOfServiceAccepted,
'pix-certif-terms-of-service-accepted': user.pixCertifTermsOfServiceAccepted,
'has-seen-assessment-instructions': user.hasSeenAssessmentInstructions,
'has-seen-new-dashboard-info': user.hasSeenNewDashboardInfo,
'has-seen-focused-challenge-tooltip': user.hasSeenFocusedChallengeTooltip,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ describe('Unit | Identity Access Management | Infrastructure | Serializer | JSON
'is-anonymous': userModelObject.isAnonymous,
'last-terms-of-service-validated-at': userModelObject.lastTermsOfServiceValidatedAt,
'must-validate-terms-of-service': userModelObject.mustValidateTermsOfService,
'pix-orga-terms-of-service-accepted': userModelObject.pixOrgaTermsOfServiceAccepted,
'pix-certif-terms-of-service-accepted': userModelObject.pixCertifTermsOfServiceAccepted,
'has-seen-assessment-instructions': userModelObject.hasSeenAssessmentInstructions,
'has-seen-new-dashboard-info': userModelObject.hasSeenNewDashboardInfo,
'has-seen-focused-challenge-tooltip': userModelObject.hasSeenFocusedChallengeTooltip,
Expand Down

0 comments on commit f236898

Please sign in to comment.