hiteshchoudhary / chai-backend

A video series on chai aur code youtube channel
5.36k stars 803 forks source link

Update auth.middleware.js #123

Open mohammad-1105 opened 6 months ago

mohammad-1105 commented 6 months ago

A minor mistake in auth.moddleware.js The correct property to access the headers object from the request object is req.headers, plural.