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

Method get

apps/web/server/routers/threads/controller.ts:28–41  ·  view source on GitHub ↗
(
    req: AuthedRequestWithTenantAndBody<getThreadType>,
    res: Response,
    next: NextFunction
  )

Source from the content-addressed store, hash-verified

26
27export class ThreadsController {
28 static async get(
29 req: AuthedRequestWithTenantAndBody<getThreadType>,
30 res: Response,
31 next: NextFunction
32 ) {
33 const thread = await ThreadsServices.get({
34 ...req.body,
35 accountId: req.tenant?.id!,
36 });
37 if (!thread) {
38 return next(new NotFound());
39 }
40 res.json(thread);
41 }
42 static async find(
43 req: AuthedRequestWithTenantAndBody<findThreadType>,
44 res: Response,

Callers 15

getInternalApiKeyFunction · 0.45
getApiKeyFunction · 0.45
accounts.tsFile · 0.45
notifications.tsFile · 0.45
api-keys.tsFile · 0.45
profile.tsFile · 0.45
index.tsFile · 0.45
getPropsFunction · 0.45
commons.tsFile · 0.45
threads.tsFile · 0.45
channels.tsFile · 0.45
index.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected