mirror of
https://gitlab.aliens-lyon.fr/encartes/web-interface.git
synced 2026-03-18 15:11:04 +01:00
Rename URL
This commit is contained in:
parent
4f5fbe9e17
commit
51e432a6e8
@ -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']);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user