MCPcopy
hub / github.com/d3george/slash-admin / findById

Function findById

src/api/services/userService.ts:26–26  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

24const signup = (data: SignUpReq) => apiClient.post<SignInRes>({ url: UserApi.SignUp, data });
25const logout = () => apiClient.get({ url: UserApi.Logout });
26const findById = (id: string) => apiClient.get<UserInfo[]>({ url: `${UserApi.User}/${id}` });
27
28export default {
29 signin,

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected