From 7bdfdc1795103edd3665e889d6ca6f6c445f862a Mon Sep 17 00:00:00 2001 From: David Whittaker Date: Thu, 28 Sep 2023 10:53:30 -0700 Subject: [PATCH] Cleaning up api to only getAll --- .../static/dispatch/src/service_feedback/api.js | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/dispatch/static/dispatch/src/service_feedback/api.js b/src/dispatch/static/dispatch/src/service_feedback/api.js index 0747ca47a6f1..95b15f247874 100644 --- a/src/dispatch/static/dispatch/src/service_feedback/api.js +++ b/src/dispatch/static/dispatch/src/service_feedback/api.js @@ -6,20 +6,4 @@ export default { getAll(options) { return API.get(`${resource}`, { params: { ...options } }) }, - - get(feedbackId) { - return API.get(`${resource}/${feedbackId}`) - }, - - create(payload) { - return API.post(`${resource}`, payload) - }, - - update(feedbackId, payload) { - return API.put(`${resource}/${feedbackId}`, payload) - }, - - delete(feedbackId) { - return API.delete(`${resource}/${feedbackId}`) - }, }