(
req: AuthedRequestWithTenantAndBody<findThreadType>,
res: Response,
_: NextFunction
)
| 40 | res.json(thread); |
| 41 | } |
| 42 | static async find( |
| 43 | req: AuthedRequestWithTenantAndBody<findThreadType>, |
| 44 | res: Response, |
| 45 | _: NextFunction |
| 46 | ) { |
| 47 | const threads = await ThreadsServices.find({ |
| 48 | ...req.body, |
| 49 | accountId: req.tenant?.id!, |
| 50 | }); |
| 51 | res.json(threads); |
| 52 | } |
| 53 | static async put( |
| 54 | req: AuthedRequestWithTenantAndBody<putThreadType>, |
| 55 | res: Response, |
no outgoing calls
no test coverage detected