Compare commits

..

No commits in common. "b274bf12d34de1f4776e9e02878ca5ccdc9f9bd8" and "15a09789a05af8d0bd27f18259789bcf3f267db0" have entirely different histories.

3 changed files with 5 additions and 22 deletions

View File

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

View File

@ -1 +1 @@
1.3.48
1.3.47

View File

@ -70,26 +70,9 @@
event.preventDefault();
fetch('{{ url_for("send_test_notification") }}', {
method: 'POST'
}).then(response => {
console.log('Response status:', response.status);
console.log('Response headers:', response.headers);
return response.text().then(text => {
console.log('Response body:', text);
try {
return JSON.parse(text);
} catch (e) {
console.error('Failed to parse JSON:', e);
throw new Error('Server returned non-JSON response');
}
});
}).then(data => {
console.log('Parsed data:', data);
if (data.message) {
console.log(data.message);
}
}).catch(err => {
console.error('Error sending test notification:', err);
});
}).then(response => response.json())
.then(data => console.log(data.message))
.catch(err => console.error('Error sending test notification:', err));
});
}