Fix template literals in multiple Vue components for API URL construction to ensure correct endpoint formatting.

This commit is contained in:
Torsten Schulz (local)
2025-10-20 08:47:05 +02:00
parent 2e3a1a9e99
commit 52712db78d
10 changed files with 22 additions and 20 deletions

View File

@@ -84,7 +84,7 @@ const { showModal, modalConfig, alert, confirm, onConfirm, onCancel } = useModal
async function loadUsers() {
try {
loading.value = true
const response = await fetch('${API_URL}/roles/users', {
const response = await fetch(`${API_URL}/roles/users`, {
headers: {
'Authorization': `Bearer ${authStore.token}`
}