Skip to content

Commit

Permalink
Update api.py
Browse files Browse the repository at this point in the history
  • Loading branch information
xzzy authored Oct 18, 2024
1 parent eb59ee0 commit c46982a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ledgergw/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1810,7 +1810,7 @@ def create_get_emailuser(request,apikey):
else:
raise ValidationError('Error: the email address provided is invalid.')

eu = models.EmailUser.objects.filter(email=email)
eu = models.EmailUser.objects.filter(email__iexact=email)
status = ''
if eu.count():
status = 'existing'
Expand Down

0 comments on commit c46982a

Please sign in to comment.