hiteshchoudhary / chai-backend

A video series on chai aur code youtube channel
4.69k stars 697 forks source link

Update auth.middleware.js #123

Open mohammad-1105 opened 3 months ago

mohammad-1105 commented 3 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.