From f0a7f35dec07508a07d4c11abda297ad0bf91187 Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Sat, 3 Apr 2021 18:11:57 +0200 Subject: [PATCH] Renoved fixed data ref #19 --- src/views/Profile.vue | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) 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" })