Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Maják
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
Maják
Commits
bdc54e33
Commit
bdc54e33
authored
3 years ago
by
jan.bednarik
Browse files
Options
Downloads
Patches
Plain Diff
shared: News subscription double opt-in
parent
2667ecb6
No related branches found
No related tags found
2 merge requests
!291
shared: News subscription double opt-in
,
!290
shared: News subscription double opt-in
Pipeline
#3966
passed
3 years ago
Stage: build
Changes
1
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
shared/utils.py
+1
-0
1 addition, 0 deletions
shared/utils.py
with
1 addition
and
0 deletions
shared/utils.py
+
1
−
0
View file @
bdc54e33
...
@@ -20,6 +20,7 @@ def subscribe_to_newsletter(email, news_id, source):
...
@@ -20,6 +20,7 @@ def subscribe_to_newsletter(email, news_id, source):
"
email
"
:
email
,
"
email
"
:
email
,
"
news_id
"
:
news_id
,
"
news_id
"
:
news_id
,
"
source
"
:
source
,
"
source
"
:
source
,
"
verify_email
"
:
1
,
}
}
response
=
requests
.
post
(
response
=
requests
.
post
(
settings
.
NALODENI_API_NEWS_SUBSCRIBE_URL
,
settings
.
NALODENI_API_NEWS_SUBSCRIBE_URL
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment