Skip to content

Commit

Permalink
fix(server): update routes names (refresh-tokens)
Browse files Browse the repository at this point in the history
  • Loading branch information
leomp12 committed Feb 16, 2020
1 parent 05472ce commit 79a2910
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ server.use((req, res, next) => {
router.get('/', require(`${routes}/`))

// base routes for E-Com Plus Store API
;['auth-callback', 'update-tokens', 'webhook'].forEach(endpoint => {
;['auth-callback', 'refresh-tokens', 'webhook'].forEach(endpoint => {
const filename = `/ecom/${endpoint}`
router.post(filename, (req, res) => {
// first disable set interval (no daemons on cloud functions)
Expand Down

0 comments on commit 79a2910

Please sign in to comment.