From e1c096e6107046afc2b746a4ff089dea036a041b Mon Sep 17 00:00:00 2001 From: P-Jeremy Date: Wed, 11 Dec 2024 16:22:35 +0100 Subject: [PATCH] feat(api): set a date for lastPixOrgaTermsOfServiceValidatedAt in user builder --- api/db/database-builder/factory/build-user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/db/database-builder/factory/build-user.js b/api/db/database-builder/factory/build-user.js index 2021e45a5f6..be30891b061 100644 --- a/api/db/database-builder/factory/build-user.js +++ b/api/db/database-builder/factory/build-user.js @@ -119,7 +119,7 @@ buildUser.withRawPassword = function buildUserWithRawPassword({ lang = 'fr', locale, lastTermsOfServiceValidatedAt = new Date('2019-04-28T02:42:00Z'), - lastPixOrgaTermsOfServiceValidatedAt = null, + lastPixOrgaTermsOfServiceValidatedAt = new Date('2024-01-01'), lastPixCertifTermsOfServiceValidatedAt = null, mustValidateTermsOfService = false, pixOrgaTermsOfServiceAccepted = false,