MCPcopy Create free account
hub / github.com/TomDoesTech/REST-API-Tutorial-Updated / updateSession

Function updateSession

src/service/session.service.ts:18–23  ·  view source on GitHub ↗
(
  query: FilterQuery<SessionDocument>,
  update: UpdateQuery<SessionDocument>
)

Source from the content-addressed store, hash-verified

16}
17
18export async function updateSession(
19 query: FilterQuery<SessionDocument>,
20 update: UpdateQuery<SessionDocument>
21) {
22 return SessionModel.updateOne(query, update);
23}
24
25export async function reIssueAccessToken({
26 refreshToken,

Callers 1

deleteSessionHandlerFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected