Skip to content

Commit f2f0b3f

Browse files
committed
Update MAILCHIMP_CONTACT_STATUS description + linting
1 parent 379aee1 commit f2f0b3f

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

auth-mailchimp-sync/extension.yaml

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ resources:
5454
- name: removeUserFromList
5555
type: firebaseextensions.v1beta.function
5656
description:
57-
Listens for existing user accounts to be deleted (as managed by Firebase Authentication),
58-
then automatically removes them from your specified MailChimp audience.
57+
Listens for existing user accounts to be deleted (as managed by Firebase
58+
Authentication), then automatically removes them from your specified
59+
MailChimp audience.
5960
properties:
6061
sourceDirectory: .
6162
location: ${LOCATION}
@@ -68,9 +69,9 @@ params:
6869
type: select
6970
label: Deployment location
7071
description: >-
71-
Where should the extension be deployed?
72-
For help selecting a location, refer to the
73-
[location selection guide](https://firebase.google.com/docs/functions/locations).
72+
Where should the extension be deployed? For help selecting a location,
73+
refer to the [location selection
74+
guide](https://firebase.google.com/docs/functions/locations).
7475
options:
7576
- label: Iowa (us-central1)
7677
value: us-central1
@@ -93,30 +94,31 @@ params:
9394
type: string
9495
label: Mailchimp API key
9596
description: >-
96-
What is your Mailchimp API key?
97-
To obtain a Mailchimp API key, go to your [Mailchimp account](https://admin.mailchimp.com/account/api/).
97+
What is your Mailchimp API key? To obtain a Mailchimp API key, go to your
98+
[Mailchimp account](https://admin.mailchimp.com/account/api/).
9899
example: a1b2c3d4e5f6g7
99100
required: true
100101

101102
- param: MAILCHIMP_AUDIENCE_ID
102103
type: string
103104
label: Audience ID
104105
description: >-
105-
What is the Mailchimp Audience ID to which you want to subscribe new users?
106-
To find your Audience ID: visit https://admin.mailchimp.com/lists,
107-
click on the desired audience or create a new audience, then select **Settings**.
108-
Look for **Audience ID** (for example, `27735fc60a`).
106+
What is the Mailchimp Audience ID to which you want to subscribe new
107+
users? To find your Audience ID: visit https://admin.mailchimp.com/lists,
108+
click on the desired audience or create a new audience, then select
109+
**Settings**. Look for **Audience ID** (for example, `27735fc60a`).
109110
example: 1ab2345c67
110111
required: true
111112

112113
- param: MAILCHIMP_CONTACT_STATUS
113114
type: select
114115
label: Contact status
115116
description: >-
116-
When a new contact is added to the Mailchimp list/audience, what is their initial status?
117-
`subscribed`: The contact has subscribed and can receive campaigns.
118-
`pending`: A double opt-in confirmation email will be sent to the user. Once accepted they will be set to
119-
`subscribed`.
117+
When a new contact is added to the Mailchimp list/audience, what is their
118+
initial status? If the status is `subscribed` the contact can immediately
119+
receive campaigns. If the status is `pending`, a double opt-in
120+
confirmation email will be sent to the user. Once accepted they will be
121+
set to a `subscribed` status.
120122
options:
121123
- label: Subscribed
122124
value: subscribed

0 commit comments

Comments
 (0)