MCPcopy Create free account
hub / github.com/AdaXH/korct / queryUser

Method queryUser

controller/Demo.ts:15–17  ·  view source on GitHub ↗
(@param('userId') userId: string)

Source from the content-addressed store, hash-verified

13 */
14 @GetMapping('/user/:userId')
15 async queryUser(@param('userId') userId: string): Promise<CommonObj> {
16 return this.userService.queryUserById(userId);
17 }
18
19 @PostMapping('/add-user')
20 async insertUser(@request() user: CommonObj): Promise<CommonObj> {

Callers

nothing calls this directly

Calls 2

paramFunction · 0.90
queryUserByIdMethod · 0.80

Tested by

no test coverage detected