MCPcopy Create free account
hub / github.com/LeChatErrant/API-template / listUsers

Method listUsers

src/appRequester.ts:61–67  ·  view source on GitHub ↗
(statusCodeExpected = httpStatus.OK)

Source from the content-addressed store, hash-verified

59 }
60
61 async listUsers(statusCodeExpected = httpStatus.OK) {
62 const { body } = await this.request
63 .get('/users')
64 .expect(statusCodeExpected);
65
66 return body;
67 }
68
69 async getUser(userId: string, statusCodeExpected = httpStatus.OK) {
70 const { body } = await this.request

Callers 2

userRoutes.tsFile · 0.80
user.spec.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected