delete working

This commit is contained in:
padamsen_fisker
2024-01-12 16:36:28 -05:00
parent 437ec9e124
commit 43d1721804
5 changed files with 100 additions and 9 deletions

View File

@@ -295,8 +295,8 @@ const vehiclesAPI = {
.catch(errorHandler)
},
deleteFlashpackECUMapping: async (data, token) => {
return fetch(`${API_ENDPOINT}/flashpack_ecu_mapping`, {
deleteFlashpackVersion: async (data, token) => {
return fetch(`${API_ENDPOINT}/flashpack_version`, {
method: "DELETE",
headers: Object.assign(
{ "Content-Type": "application/json" },