diff --git a/frontend/src/UserView.js b/frontend/src/UserView.js index 979ad05..937807c 100644 --- a/frontend/src/UserView.js +++ b/frontend/src/UserView.js @@ -51,7 +51,7 @@ const UserView = ({ groupCode }) => { const handleRemoveTicket = async (ticketId) => { try { - const response = await fetch(`$window.config.apiUrl}/ticket?ticket_id=${ticketId}`, { + const response = await fetch(`${window.config.apiUrl}/ticket?ticket_id=${ticketId}`, { method: 'DELETE', headers: { 'Authorization': groupCode,