The Cognitive Distortion Journal (CDJ) is a smart journaling tool that helps remedy distorted thinking. It can feel impossible to follow the CBT technique of labeling and reframing distorted thinking when you've been thinking this way your whole life. The CDJ can help with that 🧠✨ -- v2 is in development!
This PR migrates
access
middleware to TS with unit test. It adds"@types/jsonwebtoken"
to package.json.ExpressError
to provide error server side logging.isLoggedIn
authHeader
variable to check forauthorization
property before assigning it (middleware/access.ts Line: 33)