Rename URL

This commit is contained in:
Adrien Vannson 2023-02-28 17:28:50 +01:00
parent 4f5fbe9e17
commit 51e432a6e8
No known key found for this signature in database
GPG Key ID: FE2E66FD978C1A55

View File

@ -90,7 +90,7 @@ function RoomInformation({ roomId }) {
const [users, setUsers] = React.useState([]); const [users, setUsers] = React.useState([]);
React.useEffect(() => { React.useEffect(() => {
fetch("https://encartes.aliens-lyon.fr/api/map/show_place_info/" + roomId) fetch("https://encartes.aliens-lyon.fr/api/map/get_place_info/" + roomId)
.then(response => response.json()) .then(response => response.json())
.then(data => { .then(data => {
setNames(data['names']); setNames(data['names']);