MCPcopy Create free account
hub / github.com/monkeytypegame/monkeytype / deleteConfig

Function deleteConfig

backend/src/api/controllers/config.ts:27–34  ·  view source on GitHub ↗
(
  req: MonkeyRequest,
)

Source from the content-addressed store, hash-verified

25}
26
27export async function deleteConfig(
28 req: MonkeyRequest,
29): Promise<MonkeyResponse> {
30 const { uid } = req.ctx.decodedToken;
31
32 await ConfigDAL.deleteConfig(uid);
33 return new MonkeyResponse("Config deleted", null);
34}

Callers 2

deleteUserFunction · 0.90
resetUserFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected