module.exports = {
    friendlyName: "Find",

    description: "Find Ecole.",

    inputs: {
        enCours: {
            type: "string",
        },
    },

    exits: {},

    fn: async function (inputs, exits) {

        let trimSem = await Trimestre.find({ enCours: true }).then(_.first)
        //console.log("TRIMESTRE", trimSem)
        // All done.
        return exits.success(trimSem);
    },
};
