diff --git a/src/views/Profile.vue b/src/views/Profile.vue index 062e5b8..1d81383 100644 --- a/src/views/Profile.vue +++ b/src/views/Profile.vue @@ -309,27 +309,7 @@ function get_certificate() { postdata.group = { name: postdata.group } - postdata = [{ - "responseType": "SELFSERVICRUNNER", - "id": 49, - "firstname": "string", - "middlename": "string", - "lastname": "string", - "phone": null, - "email": "me@me.nig.gl", - "address": { - "address1": null, - "address2": null, - "postalcode": null, - "city": null, - "country": null - }, - "distance": 0, - "donationAmount": 0, - "group": { "name": "Citizen" }, - "distanceDonations": [] - }] - axios.post(url, postdata) + postdata = [postdata] axios.post(url, postdata, { responseType: "blob" })