server data show with empty result
I used this url http://localhost:8090/api/threads . it shows {"participants":[],"messages":[],"threads":[]}
again I tried http://localhost:8090/api/threads/1 then it shows Cannot GET /api/threads/1
when after clone the project and try to npm run api-server it shows compile time errors
Argument of type 'string | string[]' is not assignable to parameter of type 'string'.
errors are in all the .ts files in server/api
every participantId places it shows errors. I fixed them by using const participantId = parseInt(req.headers['userid'] as string); to all the places
but data not retrieving when call to api/threads or api/threads/1 please help me.
@jhades , are you there???