This pull request fixes the constant ending of emails to users and visitors that subscribes to newsletters.
Description
This pull request fixes the constant ending of emails to users and visitors that subscribes to newsletters.
With this fix, only newsletter subscribers that are subscribing for the first time would receive a notification email.
Summary
This pull request fixes the constant ending of emails to users and visitors that subscribes to newsletters.
Description
This pull request fixes the constant ending of emails to users and visitors that subscribes to newsletters. With this fix, only newsletter subscribers that are subscribing for the first time would receive a notification email.
Related Issue (Link to issue ticket)
newsletter fix
Motivation and Context
How Has This Been Tested?
This has been tested with postman. The pytest for this already exists.
Screenshots (if appropriate - Postman, etc):
USER SUBSCRIBE FOR THE FIRST TIME
USER TRIES TO SUBSCRIBE AGAIN
Types of changes
Checklist: