Fix call to update for Reinitialize button

This commit is contained in:
sabaimran
2023-07-02 16:31:30 -07:00
parent a8b83da872
commit fa218ff5aa

View File

@@ -253,7 +253,7 @@
reinitialize.disabled = true;
reinitialize.innerHTML = "Reinitializing...";
const csrfToken = document.cookie.split('; ').find(row => row.startsWith('csrftoken'))?.split('=')[1];
fetch('/api/reinitialize?&client=web', {
fetch('/api/update?&client=web?force=true', {
method: 'GET',
headers: {
'Content-Type': 'application/json',