mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 13:52:10 +03:00
Removed archived Tiers from theme data (#14049)
refs https://github.com/TryGhost/Team/issues/1252 In order to allow existing subscribe pages to continue working without an extra flag, we're going to filter out the archived tiers.
This commit is contained in:
parent
034f7d9a55
commit
db4da54265
@ -49,7 +49,8 @@ async function getProductAndPricesData() {
|
||||
try {
|
||||
const page = await api.canary.productsPublic.browse({
|
||||
include: ['monthly_price', 'yearly_price'],
|
||||
limit: 'all'
|
||||
limit: 'all',
|
||||
filter: 'active:true'
|
||||
});
|
||||
|
||||
return page.products;
|
||||
|
Loading…
Reference in New Issue
Block a user