Skip to content

Commit 9adad4e

Browse files
committed
adding promotion to fellow. In practive, this feature register user in forum and active campaign
1 parent 96348ed commit 9adad4e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pythonpro/core/views.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,9 @@ def api_register_and_subscribe_fellow(request):
266266
# create user
267267
user = user_domain.get_or_create_user(first_name, email, source)
268268

269+
# promote to fellow
270+
user_domain.promote_fellow(user, source)
271+
269272
# create new subscription
270273
subscription = create_new_subscription_without_payment(
271274
user,

0 commit comments

Comments
 (0)