MCPcopy Create free account
hub / github.com/freeCodeCamp/freeCodeCamp / deleteAuthToken

Function deleteAuthToken

api/src/routes/protected/settings.ts:850–857  ·  view source on GitHub ↗
(
    fastify: FastifyInstance,
    { id }: { id: string }
  )

Source from the content-addressed store, hash-verified

848 }
849
850 async function deleteAuthToken(
851 fastify: FastifyInstance,
852 { id }: { id: string }
853 ) {
854 await fastify.prisma.authToken.delete({
855 where: { id }
856 });
857 }
858
859 fastify.get(
860 '/confirm-email',

Callers 1

settingRedirectRoutesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected