We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b86fdd0 commit dbc1089Copy full SHA for dbc1089
1 file changed
modules/default/calendar/calendarfetcher.js
@@ -1,8 +1,9 @@
1
const ical = require("node-ical");
2
const Log = require("logger");
3
+const { Agent } = require("undici");
4
const CalendarFetcherUtils = require("./calendarfetcherutils");
5
const { getUserAgent } = require("#server_functions");
-const { Agent } = require('undici');
6
+
7
8
const FIFTEEN_MINUTES = 15 * 60 * 1000;
9
const THIRTY_MINUTES = 30 * 60 * 1000;
@@ -74,12 +75,12 @@ class CalendarFetcher {
74
75
const options = { headers };
76
77
if (this.selfSignedCert) {
- options.dispatcher = new Agent({
78
- connect: {
79
- rejectUnauthorized: false
80
- }
81
- });
82
+ options.dispatcher = new Agent({
+ connect: {
+ rejectUnauthorized: false
+ }
+ });
83
84
85
if (this.auth) {
86
if (this.auth.method === "bearer") {
0 commit comments