CSR-804 Change endpoint name
This commit is contained in:
parent
9ed3c0fa84
commit
bb8a8cc2f4
2 changed files with 4 additions and 4 deletions
|
|
@ -63,8 +63,8 @@ const endpoints = {
|
|||
url: "/parts/api/v1/parts/capability-questions",
|
||||
method: "GET"
|
||||
},
|
||||
ApplyCapabilityAnswerToPart: {
|
||||
url: "/parts/api/v1/parts/apply-capability-answer-to-part",
|
||||
GetPartFromCapabilityAnswer: {
|
||||
url: "/parts/api/v1/parts/part-from-capability-answer",
|
||||
method: "POST"
|
||||
},
|
||||
SaveOrder: {
|
||||
|
|
|
|||
|
|
@ -757,8 +757,8 @@ export const actions = {
|
|||
const capabilityQuestionAnswersForPart = capabilityQuestionAnswers.find(x => x.glassLocation === glassLocation);
|
||||
|
||||
return globalMethods.callHttpClient({
|
||||
method: endpoints.ApplyCapabilityAnswerToPart.method,
|
||||
endpoint: endpoints.ApplyCapabilityAnswerToPart.url,
|
||||
method: endpoints.GetPartFromCapabilityAnswer.method,
|
||||
endpoint: endpoints.GetPartFromCapabilityAnswer.url,
|
||||
payload: {
|
||||
part,
|
||||
capabilityAnswerResults: capabilityQuestionAnswersForPart
|
||||
|
|
|
|||
Loading…
Reference in a new issue