Skip to content

Commit

Permalink
blank url verification
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiteshkumar Pandey committed Nov 12, 2019
1 parent 80406c2 commit 925de91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pepipost/controllers/email_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def create_send_email(self,
_query_builder += '/v2/sendEmail'

# check if url is passed
if url!=None:
if url!=None and url.strip() != '':
_query_builder = url

_query_url = APIHelper.clean_url(_query_builder)
Expand Down

0 comments on commit 925de91

Please sign in to comment.