Renoved fixed data

ref #19
This commit is contained in:
Nicolai Ort 2021-04-03 18:11:57 +02:00
parent b938cfc49e
commit f0a7f35dec

View File

@ -309,27 +309,7 @@ function get_certificate() {
postdata.group = { postdata.group = {
name: postdata.group name: postdata.group
} }
postdata = [{ postdata = [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)
axios.post(url, postdata, { axios.post(url, postdata, {
responseType: "blob" responseType: "blob"
}) })