This commit is contained in:
parent
51cbf1e2fd
commit
9aba05ea1e
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,6 @@
|
|||
var ocuser = document.getElementById("oc-user").value;
|
||||
var ocuser = ocuser.replace (/^/,'OpenCollective Profile: ');
|
||||
var description = name + "%0A%0A" + aboutme + "%0A%0A" + howfound + "%0A%0A" + ocuser;
|
||||
var url = baseurl.concat("&title=", email, "&description=", description);
|
||||
console.log('Description:', description);
|
||||
|
||||
fetch(url, {
|
||||
|
@ -65,6 +64,7 @@
|
|||
'authorization': 'token b8d8617bb6049c0e47b7bba5cd0931799f54609c',
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
body: JSON.stringify({ title: "test" }),
|
||||
})
|
||||
.then(response => response.json())
|
||||
.then(result => {
|
||||
|
|
Loading…
Add table
Reference in a new issue