Skip to content

Commit

Permalink
Change deleteWorkSchedule back to async class method
Browse files Browse the repository at this point in the history
  • Loading branch information
tkla committed Jun 10, 2022
1 parent 3e9c9df commit 259ad68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/EnvoyAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ class EnvoyAPI {
* @param {{}} workSchedule object.
* @returns {Promise<EnvoyObject>}
*/
deleteWorkSchedule = async (workScheduleId) => {
async deleteWorkSchedule(workScheduleId) {
var options = {
method: 'DELETE',
url: this.newUrl + `/work-schedules/${workScheduleId}`,
Expand Down

1 comment on commit 259ad68

@tkla

This comment was marked as duplicate.

Please sign in to comment.