diff options
Diffstat (limited to 'lib/caldav/resources/calendar.js')
-rw-r--r-- | lib/caldav/resources/calendar.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/caldav/resources/calendar.js b/lib/caldav/resources/calendar.js index 9bff517..2adf614 100644 --- a/lib/caldav/resources/calendar.js +++ b/lib/caldav/resources/calendar.js @@ -34,6 +34,7 @@ 'calendar-description': 'description', 'getctag': 'ctag', + 'getetag': 'etag', 'getlastmodified': 'lastmodified', 'resourcetype': { @@ -112,7 +113,7 @@ } for (key in options) { - if (options.hasOwnProperty(key)) { + if (Object.hasOwnProperty.call(options, key)) { if (key in this._map) { descriptor = this._map[key]; value = options[key]; |