MCPcopy Create free account
hub / github.com/CodeFox-Repo/codefox / getUser

Method getUser

backend/src/user/user.service.ts:39–43  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

37 // 'chats.project' rides along so the home cards can label each
38 // project's kind without a per-card query.
39 relations: ['chats', 'chats.project'],
40 // Newest first. Without this the home grid — which shows the first
41 // nine as "recent" — was showing the user's *oldest* nine, so a tenth
42 // project pushed the newest one off the page.
43 order: { chats: { createdAt: 'DESC' } },
44 });
45
46 // A user whose chats are all deleted matches no row under the filter

Callers 2

meMethod · 0.45
getUserAvatarMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected