feature/sending-email #15
@ -44,7 +44,6 @@ class EmailSender:
|
|||||||
|
|
||||||
def send_email(self):
|
def send_email(self):
|
||||||
response = self.authenticate_user().send.create(data=self.prepare_email())
|
response = self.authenticate_user().send.create(data=self.prepare_email())
|
||||||
# import pdb;pdb.set_trace()
|
|
||||||
if response.status_code != 200:
|
if response.status_code != 200:
|
||||||
raise EmailException()
|
raise EmailException()
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user