Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
etchegom committed Dec 2, 2024
1 parent 5c450bd commit e222e2a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions recoco/apps/demarches_simplifiees/adapters/79838.py
Original file line number Diff line number Diff line change
@@ -10,13 +10,13 @@ def make(project: Project) -> dict[str, Any]:
"champ_Q2hhbXAtMzUyMTg1Mg": project.name,
}

if referrer := project.owner:
if owner := project.owner:
d.update(
{
"champ_Q2hhbXAtMzUyMTg0Ng": f"{referrer.last_name} {referrer.first_name}",
"champ_Q2hhbXAtMzUyMTg0OA": referrer.email,
"champ_Q2hhbXAtMzUyMTg0Nw": referrer.organization_position,
"champ_Q2hhbXAtMzUyMTg0OQ": referrer.phone_no,
"champ_Q2hhbXAtMzUyMTg0Ng": f"{owner.last_name} {owner.first_name}",
"champ_Q2hhbXAtMzUyMTg0OA": owner.email,
"champ_Q2hhbXAtMzUyMTg0Nw": owner.profile.organization_position,
"champ_Q2hhbXAtMzUyMTg0OQ": owner.profile.phone_no.as_international,
}
)

0 comments on commit e222e2a

Please sign in to comment.