1234567891011121314151617 |
- "use strict";
- module.exports = async () => {
- try {
- let clList = [];
- let res = await dbFind("curric", {type: "class"});
- for (let currDoc of res) clList.push(currDoc.className);
- return JSON.stringify(clList);
- }
- catch(e) {return "[]";}
- };
|