MCPcopy Index your code
hub / github.com/Linen-dev/linen.dev / find

Method find

apps/web/server/routers/threads/controller.ts:42–52  ·  view source on GitHub ↗
(
    req: AuthedRequestWithTenantAndBody<findThreadType>,
    res: Response,
    _: NextFunction
  )

Source from the content-addressed store, hash-verified

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,

Callers 7

tenantMiddlewareFunction · 0.45
accounts.test.tsFile · 0.45
getPropsFunction · 0.45
threads.tsFile · 0.45
channels.tsFile · 0.45
index.tsFile · 0.45
postMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected