mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-03 00:15:11 +03:00
parent
5472aa61ac
commit
a3e7a7b3ea
@ -19,7 +19,7 @@ const getPlanHashSeed = (plan, product) => {
|
||||
return product.id + plan.interval + plan.currency + plan.amount;
|
||||
};
|
||||
|
||||
const getProductHashSeed = product => product.name;
|
||||
const getProductHashSeed = () => 'Ghost Subscription';
|
||||
const getCustomerHashSeed = member => member.email;
|
||||
|
||||
const plans = createApi('plans', isActive, getPlanAttr, getPlanHashSeed);
|
||||
|
Loading…
Reference in New Issue
Block a user