diff --git a/static/js/top-users.js b/static/js/top-users.js index 6705db6..6516d38 100644 --- a/static/js/top-users.js +++ b/static/js/top-users.js @@ -1,8 +1,4 @@ -fetch("/top_users?number=5", { - // method: 'POST', - headers: {'Content-Type': 'application/json'} - // body: JSON.stringify({number:5}) -}) +fetch("/top_users?number=5") .then(response => { if (!response.ok) { throw new Error(`HTTP error: ${response.status}`);