Skip to content
This repository was archived by the owner on Sep 12, 2019. It is now read-only.

Commit b920eb2

Browse files
author
sw-yx
committed
tweak the template for subscription
1 parent 6781bae commit b920eb2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/functions-templates/js/stripe-subscription/.netlify-function-template.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
const chalk = require("chalk");
22

33
module.exports = {
4-
name: "stripe-charge",
5-
description: "Stripe Charge: Charge a user with Stripe",
4+
name: "stripe-subscription",
5+
description: "Stripe subscription: Create a subscription with Stripe",
66
async onComplete() {
77
console.log(
8-
`${chalk.yellow("stripe-charge")} function created from template!`
8+
`${chalk.yellow("stripe-subscription")} function created from template!`
99
);
1010
if (!process.env.STRIPE_SECRET_KEY) {
1111
console.log(

0 commit comments

Comments
 (0)