Skip to content

Commit

Permalink
example with es6 modules export
Browse files Browse the repository at this point in the history
  • Loading branch information
Carmine DiMascio committed Feb 16, 2020
1 parent 284d867 commit e3b01f8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/3-eov-operations-babel/src/routes/ping.js
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
export default {
ping: (req, res) => res.status(200).send('pong'),
};
export const ping = (req, res) => res.status(200).send('pong');

0 comments on commit e3b01f8

Please sign in to comment.