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

Method signin

src/appRequester.ts:46–53  ·  view source on GitHub ↗
(user: any, statusCodeExpected = httpStatus.OK)

Source from the content-addressed store, hash-verified

44 }
45
46 async signin(user: any, statusCodeExpected = httpStatus.OK) {
47 const { body } = await this.request
48 .post('/users/signin')
49 .send(user)
50 .expect(statusCodeExpected);
51
52 return body;
53 }
54
55 async signout(statusCodeExpected = httpStatus.NO_CONTENT) {
56 await this.request

Callers 3

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

Calls

no outgoing calls

Tested by

no test coverage detected