fastify-passport
fastify-passport copied to clipboard
check if request.session.data is a getter or object
Checklist
- [ ] run
npm run test
andnpm run benchmark
- [ ] tests and/or benchmarks are included
- [ ] documentation is changed or added
- [ ] commit message and code follows the Developer's Certification of Origin and the Code of conduct
I did not yet find time to run the test. What I added is a check if the request.session.data is a setter or object, since when using with nestjs it is implemented as a getter I ran into problems.