fix: Use POST for library status API call
This commit is contained in:
@@ -1959,7 +1959,13 @@ function loadLibraryStatus() {
|
||||
container.style.display = 'none';
|
||||
errorEl.style.display = 'none';
|
||||
|
||||
fetch('api.php?action=library_status')
|
||||
fetch('api.php', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
body: JSON.stringify({ action: 'library_status' })
|
||||
})
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
loading.style.display = 'none';
|
||||
|
||||
Reference in New Issue
Block a user