#req.user does not have the user type
4 messages · Page 1 of 1 (latest)
I like to create an interface that extends the standard request and adds the fields that I need to it. Just seems to work more reliably than relying on passports types (especially when working with tests too)
Thanks! I'll follow along with that, then 🙂
any update on this?