MCPcopy Create free account
hub / github.com/OpenSIST/OpenSIST.github.io / setApplicants

Function setApplicants

src/Data/ApplicantData.js:75–84  ·  view source on GitHub ↗
(applicants)

Source from the content-addressed store, hash-verified

73}
74
75export async function setApplicants(applicants) {
76 /*
77 * Set the list of applicants to the local storage (i.e. localforage.getItem('applicants'))
78 * @param applicants [Array]: list of applicants
79 */
80 if (!applicants) {
81 return;
82 }
83 await writeCacheValue("applicants", applicants);
84}
85
86export async function setApplicant(applicant) {
87 /*

Callers 3

toggleAnonymousFunction · 0.90
setApplicantFunction · 0.85
removeApplicantFunction · 0.85

Calls 1

writeCacheValueFunction · 0.90

Tested by

no test coverage detected