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

Function getApplicantIDByDisplayName

src/Data/ApplicantData.js:27–35  ·  view source on GitHub ↗
(isRefresh = false)

Source from the content-addressed store, hash-verified

25}
26
27export async function getApplicantIDByDisplayName(isRefresh = false) {
28 /*
29 * Get the list of applicantIDs from the server or local storage by displayName
30 * @return: list of applicants
31 */
32 const displayName = await getDisplayName(isRefresh);
33 const metadata = await getMetadata(displayName, isRefresh);
34 return metadata.ApplicantIDs;
35}
36
37export async function setApplicantIDByDisplayName(applicants) {
38 /*

Callers 2

setApplicantFunction · 0.85

Calls 2

getDisplayNameFunction · 0.90
getMetadataFunction · 0.90

Tested by

no test coverage detected