From 204e83a2a8fbfc76d10527e727cf1778d9128d40 Mon Sep 17 00:00:00 2001 From: Alexander Wong Date: Thu, 21 Sep 2017 22:05:44 -0600 Subject: [PATCH] added trailing slash --- src/api/worktype.api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/worktype.api.js b/src/api/worktype.api.js index 0af2ea0..fd14605 100644 --- a/src/api/worktype.api.js +++ b/src/api/worktype.api.js @@ -35,5 +35,5 @@ export function updateWorktype(uuid, color) { * @param {string} uuid - worktype unique identifier */ export function deleteWorktype(uuid) { - return del(`/worktype/${uuid}`).then(resp => Promise.resolve(resp)); + return del(`/worktype/${uuid}/`).then(resp => Promise.resolve(resp)); }