Skip to content

Instantly share code, notes, and snippets.

@enceladus
Created May 20, 2020 17:20
Show Gist options
  • Select an option

  • Save enceladus/d3025e12ceb56e30398ad6663ae33a08 to your computer and use it in GitHub Desktop.

Select an option

Save enceladus/d3025e12ceb56e30398ad6663ae33a08 to your computer and use it in GitHub Desktop.

Revisions

  1. enceladus created this gist May 20, 2020.
    5 changes: 5 additions & 0 deletions booking.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    var { DJsOnly } = require('../services/auth0');

    router.get('/', requiresAuth(), DJsOnly, function (req, res, next) {
    // do stuff
    });