Skip to content

Commit

Permalink
LastName is required
Browse files Browse the repository at this point in the history
  • Loading branch information
rixx committed Nov 14, 2024
1 parent 7706a24 commit 87c2552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pretalx_salesforce/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class SpeakerProfileSalesforceSync(models.Model):
def split_name(self):
result = self.profile.user.name.split(" ", maxsplit=1)
if len(result) == 1:
return result[0], ""
return "", result[0]
return result

def serialize(self):
Expand Down

0 comments on commit 87c2552

Please sign in to comment.