Rename usages

This commit is contained in:
anomny
2025-11-05 19:26:30 +01:00
parent 9b94aaea56
commit 22cb944417
3 changed files with 4 additions and 4 deletions

View File

@@ -120,7 +120,7 @@
try {
const response = await fetch(url, {
method: 'GET',
method: 'DELETE',
headers: {
'Content-Type': 'application/json',
'Accept': 'application/json'

View File

@@ -126,7 +126,7 @@
try {
const response = await fetch(url, {
method: 'GET',
method: 'DELETE',
headers: {
'Content-Type': 'application/json',
'Accept': 'application/json'

View File

@@ -167,7 +167,7 @@ document.addEventListener('DOMContentLoaded', () => {
async function loadLocationsIntoSelect(selectElement, selectedValue = null) {
try {
const response = await fetch('/Locations/Index');
const response = await fetch('/Locations/GetAll');
const data = await response.json();
const locations = data.locations;
@@ -208,7 +208,7 @@ async function loadLocationsIntoSelect(selectElement, selectedValue = null) {
async function loadUsersIntoSelect(selectElement, selectedValue = null) {
try {
const response = await fetch('/Users/Index?Cn=false&Sn=false&Title=false&Description=false&JpegPhoto=false&UserPassword=false');
const response = await fetch('/Users/GetAll?Cn=false&Sn=false&Title=false&Description=false&JpegPhoto=false&UserPassword=false');
const users = await response.json();
const ts = selectElement.tomselect;