MCPcopy Index your code
hub / github.com/TomDoesTech/REST-API-Tutorial / findUser

Function findUser

src/service/user.service.ts:13–15  ·  view source on GitHub ↗
(query: FilterQuery<UserDocument>)

Source from the content-addressed store, hash-verified

11}
12
13export async function findUser(query: FilterQuery<UserDocument>) {
14 return User.findOne(query).lean();
15}
16
17export async function validatePassword({
18 email,

Callers 1

reIssueAccessTokenFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected