parent
723216c693
commit
9b0dba7f65
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@
|
||||||
document.getElementById('syncToAccount').addEventListener('click', function() {
|
document.getElementById('syncToAccount').addEventListener('click', function() {
|
||||||
let form = document.createElement("form");
|
let form = document.createElement("form");
|
||||||
form.method = "POST";
|
form.method = "POST";
|
||||||
form.action = "/updateUserSettings"; // Your endpoint URL
|
form.action = "api/v1/user/updateUserSettings"; // Your endpoint URL
|
||||||
|
|
||||||
for (let i = 0; i < localStorage.length; i++) {
|
for (let i = 0; i < localStorage.length; i++) {
|
||||||
const key = localStorage.key(i);
|
const key = localStorage.key(i);
|
||||||
|
|
Loading…
Reference in a new issue