diff --git a/src/service/DemandesService.js b/src/service/DemandesService.js index c08c929..f3c5577 100644 --- a/src/service/DemandesService.js +++ b/src/service/DemandesService.js @@ -144,8 +144,7 @@ export class DemandesService { }}; const data = new FormData(); data.append('file',file); - data.append('numDemande', id); - return this.client.post(`uploadDemande/${typeDemande}`,data,config); + return this.client.post(`uploadDemande/${typeDemande}/${id}`,data,config); } getDemande(id, typeDemande){ diff --git a/src/views/RecouvSteps.vue b/src/views/RecouvSteps.vue index 0d14cdc..5557c18 100644 --- a/src/views/RecouvSteps.vue +++ b/src/views/RecouvSteps.vue @@ -71,7 +71,7 @@ - OK + OK