Skip to content

Commit

Permalink
fix: 🔧 changes early access notification channel from p4 to p5 …
Browse files Browse the repository at this point in the history
…for dev and test servers (hacktoolkit#437)

## Description:
- Removes the explicit level `info` and uses the default level `debug`
for the early access notification.
- Default notification level:
https://github.com/hacktoolkit/django-htk/blob/a3043a0dc859282f35827bb1dbd2cd81fd17eec1/utils/notifications.py#L37-L39
  • Loading branch information
shreyastelkar authored Aug 6, 2024
1 parent a3043a0 commit 8b1032e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions apps/prelaunch/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,8 @@ def grant_early_access(self):
notify(
'Early access has been enabled for {} <{}>'.format(
self.full_name, self.email
),
level='info',
)
)

try:
early_access_email(self)
except Exception:
Expand Down

0 comments on commit 8b1032e

Please sign in to comment.