aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/api/groups.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/api/groups.py')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/api/groups.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/api/groups.py b/packages/meshbay-hub/src/meshbay_hub/api/groups.py
index c44888a..b903fcf 100644
--- a/packages/meshbay-hub/src/meshbay_hub/api/groups.py
+++ b/packages/meshbay-hub/src/meshbay_hub/api/groups.py
@@ -781,8 +781,9 @@ async def invite_notify(
try:
await mail.send_off_loop(
- mail.send_invite_notification,
- email, body.code, current_user.username, group.name)
+ db, mail.send_invite_notification,
+ email, body.code, current_user.username, group.name,
+ purpose="invite")
except Exception:
return {"status": "send_failed"}