Merge pull request #1880 from justinr1234/export-stripe-singleton

Export stripe singleton
This commit is contained in:
Sacha Greif 2018-02-04 10:34:17 +09:00 committed by GitHub
commit 9921b91912
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ const stripeSettings = getSetting('stripe');
// initialize Stripe
const keySecret = Meteor.isDevelopment ? stripeSettings.secretKeyTest : stripeSettings.secretKey;
const stripe = new Stripe(keySecret);
export const stripe = new Stripe(keySecret);
const sampleProduct = {
amount: 10000,