Certificate download feature/19-runner_certficates #38

Merged
niggl merged 6 commits from feature/19-runner_certficates into dev 2021-04-03 16:51:23 +00:00
Showing only changes of commit f0a7f35dec - Show all commits

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