Skip to content

Commit

Permalink
fix: deploy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ndu committed Jan 15, 2025
1 parent cd716e1 commit 9eaccd4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server/apps/newsletter/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ def subscribe(request):
with transaction.atomic():
subscriber = Subscriber.objects.create(email=email, is_active=True)
logger.info(f"Triggering Beehiiv sync for subscriber: {subscriber.id}")
sync_subscriber_to_beehiiv.delay(subscriber.id)

return JsonResponse({'message': 'Subscription successful'}, status=200)
except IntegrityError:
Expand Down

0 comments on commit 9eaccd4

Please sign in to comment.