Skip to content

Commit

Permalink
fixup! ✨(mailboxes) manage bad secret sent to dimail API
Browse files Browse the repository at this point in the history
  • Loading branch information
mjeammet committed Aug 9, 2024
1 parent 2a3103e commit 555f07a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/mailbox_manager/utils/dimail.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def send_mailbox_request(self, mailbox):
mailbox.domain.name,
extra=extra,
)
elif response.status_code == 403:
elif response.status_code == status.HTTP_403_FORBIDDEN:
logger.error(
"[DIMAIL] 403 Forbidden: please check the mail domain secret of %s",
mailbox.domain.name,
Expand Down

0 comments on commit 555f07a

Please sign in to comment.