MCPcopy
hub / github.com/freeCodeCamp/freeCodeCamp / deleteResetModule

Function deleteResetModule

client/src/utils/ajax.ts:358–362  ·  view source on GitHub ↗
(body: {
  blockIds: string[];
})

Source from the content-addressed store, hash-verified

356}
357
358export function deleteResetModule(body: {
359 blockIds: string[];
360}): Promise<ResponseWithData<{ removedChallengeIds: string[] }>> {
361 return deleteRequest('/account/reset-module', body);
362}
363
364export function postUserToken(): Promise<ResponseWithData<void>> {
365 return post('/user/user-token', {});

Callers 1

handleResetFunction · 0.90

Calls 1

deleteRequestFunction · 0.85

Tested by

no test coverage detected