CEC-2281 Fix cert name

This commit is contained in:
jwu-fisker
2022-08-23 18:18:00 -07:00
parent f0b2a4f217
commit bf0b43dad5
6 changed files with 30 additions and 69 deletions

View File

@@ -18,6 +18,18 @@ const certificatesAPI = {
})
.then(fetchRespHandler)
.catch(errorHandler),
createAftersales: async (data, token) =>
fetch(`${API_ENDPOINT}/create-aftersales`, {
method: "POST",
headers: Object.assign(
{ "Content-Type": "application/json" },
getAuthHeaderOptions(token)
),
body: JSON.stringify(data),
})
.then(fetchRespHandler)
.catch(errorHandler),
};
export default certificatesAPI;