Skip to content

Commit

Permalink
switched to moment-tz, added now.json env secret ZENDESK_SUBDOMAIN
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Grohs authored and Adam Grohs committed Apr 10, 2019
1 parent edfb5a4 commit 9590aab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const { buffer, send } = require('micro')
const stripe = require('stripe')(process.env.STRIPE_SECRET_KEY)
const moment = require('moment')
const moment = require('moment-timezone')
const currency = require('currency.js')
const fetch = require('node-fetch')

Expand Down
1 change: 1 addition & 0 deletions now.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"alias": "particular-demo-sync-stripe-to-zendesk.now.sh",
"env": {
"NODE_ENV": "production",
"ZENDESK_SUBDOMAIN": "@demo-zendesk-subdomain",
"ZENDESK_INTEGRATION_EMAIL": "@demo-zendesk-integration-email",
"ZENDESK_INTEGRATION_SECRET": "@demo-zendesk-integration-secret",
"STRIPE_SECRET_KEY": "@demo-stripe-secret-key",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"currency.js": "^1.2.1",
"micro": "^9.3.3",
"micro-cors": "^0.1.1",
"moment": "^2.24.0",
"moment-timezone": "^0.5.23",
"node-fetch": "^2.3.0",
"stripe": "^6.28.0"
},
Expand Down

0 comments on commit 9590aab

Please sign in to comment.