Updated product hashseed to be hardcoded (#10484)

no-issue
This commit is contained in:
Fabien O'Carroll 2019-02-13 11:19:43 +01:00
parent cd674fb470
commit 464caaf5df

View File

@ -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);