0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Fixed yearly price showing monthly price in portal preview

refs https://github.com/TryGhost/Team/issues/460

- fixed copy/paste issue with wrong variable name being used for `yearlyPrice` query param
This commit is contained in:
Kevin Ansfield 2021-02-09 08:52:14 +00:00
parent 5fe20898d6
commit fc317cd75d

View file

@ -61,7 +61,7 @@ export default class MembersUtilsService extends Service {
settingsParam.append('monthlyPrice', monthlyPrice); settingsParam.append('monthlyPrice', monthlyPrice);
} }
if (yearlyPrice) { if (yearlyPrice) {
settingsParam.append('yearlyPrice', monthlyPrice); settingsParam.append('yearlyPrice', yearlyPrice);
} }
if (currency) { if (currency) {
settingsParam.append('currency', currency); settingsParam.append('currency', currency);