Skip to content

Commit

Permalink
Fix bug - UserView Unable to delete
Browse files Browse the repository at this point in the history
  • Loading branch information
Geoff Kendal committed Feb 6, 2024
1 parent feca52c commit 1393d0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/UserView.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1393d0c

Please sign in to comment.