Fix message

This commit is contained in:
Logan Hunt 2022-04-01 17:09:33 -06:00
parent 5b8d000856
commit d4b72c082a
Signed by untrusted user who does not match committer: simponic
GPG Key ID: 52B3774857EB24B1

View File

@ -158,7 +158,9 @@ export const Geoman = ({ user, userPos, joinRoom }) => {
const { lat: latitude, lng: longitude } = shape.layer.getLatLng(); const { lat: latitude, lng: longitude } = shape.layer.getLatLng();
const chatRoom = await api.post('/chat_rooms', { const chatRoom = await api.post('/chat_rooms', {
name: prompt("What's the name of the chat room?\n(Chat rooms are deleted after 2 hours of inactivity)"), name: prompt(
"What's the name of the chat room?\n(Chat rooms are deleted after 2 hours of inactivity, unless you are an admin)",
),
latitude, latitude,
longitude, longitude,
radius: shape.layer.getRadius(), radius: shape.layer.getRadius(),