SeatSelection page

This commit is contained in:
tobias committed 2024-10-04 20:15:16 +02:00
1 parent 519fa210e9
commit a676ce3d86
22 files changed
+316 -76

No files matched your search

+9 -1
View File
@@ -4,4 +4,12 @@ let BASE_URL = "http://localhost:3000/concerts"
export async function getAllConcerts() {
return await axios.get(BASE_URL)
}
}
export async function getConcert(id: number) {
if (id != undefined) {
return await axios.get(BASE_URL + "/" + id)
} else {
return null
}
}