mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
parent
cd674fb470
commit
464caaf5df
@ -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