forked from ryanmwangi/CalMerger
push linkGroupName to server
This commit is contained in:
parent
c7f33d9160
commit
1b65cf5792
|
@ -27,7 +27,7 @@ const form = document.getElementById('merge-form');
|
||||||
const prefix = document.getElementById(`prefix-${i}`).value;
|
const prefix = document.getElementById(`prefix-${i}`).value;
|
||||||
const override = document.getElementById(`override-${i}`).checked;
|
const override = document.getElementById(`override-${i}`).checked;
|
||||||
const url = document.getElementById(`url-${i}`).value;
|
const url = document.getElementById(`url-${i}`).value;
|
||||||
calendarsData.push({ prefix, override, url });
|
calendarsData.push({ linkGroupName, prefix, override, url });
|
||||||
}
|
}
|
||||||
fetch('/merge', {
|
fetch('/merge', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
|
Loading…
Reference in New Issue