Learn
Express Middleware Code Challenges
Code Challenge
Code Challenge
Instructions
1.
Complete the timeMiddleware
function to DRY the current application by attaching the currentTime
to the request body as date
. Use this in all routes and eliminate the duplicate code.