mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Move back away from membership to subscription wording for events
refs https://github.com/TryGhost/Team/issues/1847
This commit is contained in:
parent
258192e47c
commit
b51d81843b
1 changed files with 6 additions and 6 deletions
|
@ -108,22 +108,22 @@ function getAction(event, hasMultipleNewsletters) {
|
|||
|
||||
if (event.type === 'subscription_event') {
|
||||
if (event.data.type === 'created') {
|
||||
return 'started paid membership';
|
||||
return 'started paid subscription';
|
||||
}
|
||||
if (event.data.type === 'updated') {
|
||||
return 'changed paid membership';
|
||||
return 'changed paid subscription';
|
||||
}
|
||||
if (event.data.type === 'canceled') {
|
||||
return 'canceled paid membership';
|
||||
return 'canceled paid subscription';
|
||||
}
|
||||
if (event.data.type === 'reactivated') {
|
||||
return 'reactivated paid membership';
|
||||
return 'reactivated paid subscription';
|
||||
}
|
||||
if (event.data.type === 'expired') {
|
||||
return 'ended paid membership';
|
||||
return 'ended paid subscription';
|
||||
}
|
||||
|
||||
return 'changed paid membership';
|
||||
return 'changed paid subscription';
|
||||
}
|
||||
|
||||
if (event.type === 'email_opened_event') {
|
||||
|
|
Loading…
Add table
Reference in a new issue