parent
b938cfc49e
commit
f0a7f35dec
|
@ -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"
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue