Skip to content

Commit

Permalink
[CORRECTION] Corrige l’affichage de la date 'Compte créé le' sur la p…
Browse files Browse the repository at this point in the history
…age de profil
  • Loading branch information
bbougon committed Dec 26, 2024
1 parent f10d745 commit 2155806
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class EntrepotProfilAidantPostgres implements EntrepotProfilAidant {
lis(identifiant: string): Promise<ProfilAidant> {
return this.knex
.raw(
`SELECT u.id as id, json_build_object('dateSignatureCGU', u.donnees -> 'dateSignatureCGU', 'email', a.donnees ->> 'email', 'nomPrenom', a.donnees ->> 'nomPrenom', 'preferences', a.donnees -> 'preferences', 'consentementAnnuaire', a.donnees -> 'consentementAnnuaire') as donnees
`SELECT u.id as id, json_build_object('dateSignatureCGU', a.donnees -> 'dateSignatureCGU', 'email', a.donnees ->> 'email', 'nomPrenom', a.donnees ->> 'nomPrenom', 'preferences', a.donnees -> 'preferences', 'consentementAnnuaire', a.donnees -> 'consentementAnnuaire') as donnees
FROM utilisateurs u, utilisateurs_mac a
WHERE u.id = a.id AND u.id = ?;`,
[identifiant]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class ConstructeurAidant implements Constructeur<Aidant> {
private typesEntites: TypesEntites = [];
private consentementAnnuaire = false;
private siret: string | undefined = undefined;
private dateSignatureCGU: Date | undefined = fakerFR.date.anytime();
private dateSignatureCGU: Date | undefined = FournisseurHorloge.maintenant();

avecUnNomPrenom(nomPrenom: string): ConstructeurAidant {
this.nomPrenom = nomPrenom;
Expand Down

0 comments on commit 2155806

Please sign in to comment.