Renoved fixed data

ref #19
This commit is contained in:
Nicolai Ort 2021-04-03 18:11:57 +02:00
parent b938cfc49e
commit f0a7f35dec
1 changed files with 1 additions and 21 deletions

View File

@ -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"
})