Skip to content

Commit

Permalink
Use and document correct profile picture field
Browse files Browse the repository at this point in the history
  • Loading branch information
rixx committed Nov 14, 2024
1 parent c3767f9 commit 450ddf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Information is sent every eight hours or on manual sync, and is mapped as follow
- Contact.LastName is set to any remaining part of a user’s name.
- Contact.Email is set to the user’s email address.
- Contact.Biography__c is set to the user’s biography.
- Contact.Profile_Picture__c is set to the user’s profile picture URL.
- Contact.pretalx_Profile_Picture__c is set to the user’s profile picture URL.
- Submission objects are set synced to the custom Session object:
- CreatedDate is set to the submission’s creation date.
- pretalx_LegacyID__c is set to the submission’s pretalx ID.
Expand Down
2 changes: 1 addition & 1 deletion pretalx_salesforce/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def serialize(self):
"LastName": self.split_name[1],
"Email": self.profile.user.email,
"Biography__c": self.profile.biography,
"Profile_Picture__c": self.profile.user.avatar_url,
"pretalx_Profile_Picture__c": self.profile.user.avatar_url,
}

@property
Expand Down

0 comments on commit 450ddf1

Please sign in to comment.