text: require("dotenv").config();
  const log = require("skog");
  const logErrors = require("../src/log-errors");
  
  async function start() {
    log.info(
      "This function fetches all SIS Import Errors that happened recently"
    );
    const now = new Date();
    const date = new Date();
    date.setHours(now.getHours() - 1);
    await logErrors(date, ["lms-activity-rooms"]);
  }
  
  start();
  