Compare commits

..

No commits in common. "ec928cf63181e923648f9fcef401671bc730d798" and "75f210df5fb25702bbdfa3e6154f4500370d0748" have entirely different histories.

3 changed files with 4 additions and 20 deletions

View File

@ -1,5 +1,5 @@
[tool.bumpversion]
current_version = "1.3.51"
current_version = "1.3.50"
commit = true
tag = true
tag_name = "{new_version}"

View File

@ -1 +1 @@
1.3.51
1.3.50

View File

@ -127,29 +127,13 @@
}
function saveSubscription(subscription) {
console.log('Attempting to save subscription...');
fetch('/save-subscription', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
'Content-Type': 'application/json',
'Authorization': 'Basic {{ session.auth_credentials }}'
},
body: JSON.stringify(subscription)
})
.then(response => {
if (response.ok) {
console.log('Subscription saved successfully.');
return response.json();
} else {
console.error('Failed to save subscription. Status:', response.status);
response.text().then(text => console.error('Server response:', text));
throw new Error('Failed to save subscription.');
}
})
.then(data => {
console.log('Server response on save:', data);
})
.catch(err => {
console.error('Error during saveSubscription fetch:', err);
});
}