MCPcopy Index your code
hub / github.com/OpenSIST/OpenSIST.github.io / deleteApplicantIDByDisplayName

Function deleteApplicantIDByDisplayName

src/Data/ApplicantData.js:50–57  ·  view source on GitHub ↗
(applicantId)

Source from the content-addressed store, hash-verified

48}
49
50export async function deleteApplicantIDByDisplayName(applicantId) {
51 /*
52 * Remove the applicant from the local storage.
53 * @param applicantId [String]: applicantId
54 */
55 const applicants = await getApplicantIDByDisplayName(true);
56 await setApplicantIDByDisplayName(applicants.filter(p => p !== applicantId));
57}
58
59export async function getApplicant(applicantId, isRefresh = false, options = {}) {
60 /*

Callers 1

removeApplicantFunction · 0.85

Calls 2

Tested by

no test coverage detected