server/services/caldav/index.js
Function CalDAVService
has 72 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function CalDAVService(gladys, serviceId) {
const ical = require('ical');
const dav = require('dav-request');
const dayjs = require('dayjs');
const objectSupport = require('dayjs/plugin/objectSupport');