From 259ad6878117ff07febf695e4253f53da134a719 Mon Sep 17 00:00:00 2001 From: tkla Date: Fri, 10 Jun 2022 10:37:15 -0700 Subject: [PATCH] Change deleteWorkSchedule back to async class method --- lib/EnvoyAPI.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/EnvoyAPI.js b/lib/EnvoyAPI.js index af947c8..5d41194 100644 --- a/lib/EnvoyAPI.js +++ b/lib/EnvoyAPI.js @@ -451,7 +451,7 @@ class EnvoyAPI { * @param {{}} workSchedule object. * @returns {Promise} */ - deleteWorkSchedule = async (workScheduleId) => { + async deleteWorkSchedule(workScheduleId) { var options = { method: 'DELETE', url: this.newUrl + `/work-schedules/${workScheduleId}`,