How to Make Secure HTTP Requests with Vue and Express

I was getting an error that jwt was not a function. Fixed it by using this
const { expressjwt: jwt } = require(“express-jwt”);