Auto commit: 2025-12-11T19:33:33.198Z

This commit is contained in:
Flatlogic Bot 2025-12-11 19:33:33 +00:00
parent b8314b8ed6
commit 5cf23db15a

View File

@ -87,11 +87,9 @@ document.addEventListener('DOMContentLoaded', function () {
event.preventDefault(); event.preventDefault();
const formData = new FormData(addMemberForm); const formData = new FormData(addMemberForm);
formData.append('action', 'add');
fetch('api_members.php', { fetch('api_members.php', {
method: 'POST', method: 'POST',
body: formData body: new URLSearchParams(formData)
}) })
.then(response => response.json()) .then(response => response.json())
.then(data => { .then(data => {