diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-12-02 18:32:57 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2022-01-08 10:14:05 +0100 |
commit | 74b980310852a0b406fa9d073870f92c409d5444 (patch) | |
tree | 055cbdf57886077bf3a6ea476813deedb54064e0 /apps/dav/src | |
parent | 85bc8513557f5ff37fc283d53893d4cb77ec7c3b (diff) | |
download | nextcloud-server-74b980310852a0b406fa9d073870f92c409d5444.tar.gz nextcloud-server-74b980310852a0b406fa9d073870f92c409d5444.zip |
Eslint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/dav/src')
-rw-r--r-- | apps/dav/src/service/CalendarService.js | 10 | ||||
-rw-r--r-- | apps/dav/src/views/CalDavSettings.spec.js | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/apps/dav/src/service/CalendarService.js b/apps/dav/src/service/CalendarService.js index caac6874907..9de0d0b5946 100644 --- a/apps/dav/src/service/CalendarService.js +++ b/apps/dav/src/service/CalendarService.js @@ -25,6 +25,9 @@ import { parseXML } from 'webdav/dist/node/tools/dav' import { getZoneString } from 'icalzone' import { v4 as uuidv4 } from 'uuid' +/** + * + */ export function getEmptySlots() { return { MO: [], @@ -37,6 +40,9 @@ export function getEmptySlots() { } } +/** + * + */ export async function findScheduleInboxAvailability() { const client = getClient('calendars') @@ -101,6 +107,10 @@ export async function findScheduleInboxAvailability() { } } +/** + * @param slots + * @param timezoneId + */ export async function saveScheduleInboxAvailability(slots, timezoneId) { const all = [...Object.keys(slots).flatMap(dayId => slots[dayId].map(slot => ({ ...slot, diff --git a/apps/dav/src/views/CalDavSettings.spec.js b/apps/dav/src/views/CalDavSettings.spec.js index 3f9254a3010..0dc4c44537a 100644 --- a/apps/dav/src/views/CalDavSettings.spec.js +++ b/apps/dav/src/views/CalDavSettings.spec.js @@ -31,7 +31,7 @@ describe('CalDavSettings', () => { global.OCP = originalOCP }) - test('interactions', async() => { + test('interactions', async () => { const TLUtils = render( CalDavSettings, { |