Skip to content

Commit c0f88bb

Browse files
committed
Merge branch 'dev' of github.com:phpList/web-frontend into subscribe-page
2 parents 76548f7 + 746225d commit c0f88bb

2 files changed

Lines changed: 8 additions & 14 deletions

File tree

openapi.json

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5177,18 +5177,8 @@
51775177
}
51785178
},
51795179
"responses": {
5180-
"201": {
5181-
"description": "Success",
5182-
"content": {
5183-
"application/json": {
5184-
"schema": {
5185-
"type": "array",
5186-
"items": {
5187-
"$ref": "#/components/schemas/Subscription"
5188-
}
5189-
}
5190-
}
5191-
}
5180+
"204": {
5181+
"description": "Success"
51925182
},
51935183
"400": {
51945184
"description": "Failure",
@@ -5250,7 +5240,7 @@
52505240
}
52515241
],
52525242
"responses": {
5253-
"200": {
5243+
"204": {
52545244
"description": "Success"
52555245
},
52565246
"400": {
@@ -8384,6 +8374,10 @@
83848374
"type": "object"
83858375
},
83868376
"PublicSubscriptionRequest": {
8377+
"required": [
8378+
"email",
8379+
"list_id"
8380+
],
83878381
"properties": {
83888382
"email": {
83898383
"type": "string",

templates/public/subscribe.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% extends '@PhpListFrontend/public/base.html.twig' %}
22

3-
{% block title %}{{ data['title']|default(language_texts.strSubscribeTitle|default('Subscribe')) }}{% endblock %}
3+
{% block title %}{{ language_texts.strSubscribeTitle|default('Subscribe') }}{% endblock %}
44

55
{% block body %}
66
<div class="legacy-page-shell">

0 commit comments

Comments
 (0)