Closed rohidas-gowda closed 2 years ago
Here is the repo I get the error: https://github.com/rohidas-gowda/saas/blob/master/book/1-begin/api/server/api/public.ts At line 10
@rohidas-gowda Thanks for reporting and sharing your code base.
I tested your code and see the problem. As a quick solution to get the code running, you can write //@ts-ignore
above the line req.session.foo = 'bar';
.
That worked for me, but I will look into a better solution, if it makes sense for this example in the book.
Thanks @klyburke
In the chapter 5, In "save session to database" section
is giving following error
So I am not able to modify the sessions. The error path: