Trashboxes fetching fixes

This commit is contained in:
2023-08-12 02:50:26 +03:00
parent a5798cf767
commit 0aaef69a5a
4 changed files with 7 additions and 27 deletions

View File

@ -6,9 +6,9 @@ import { Category } from '../../assets/category'
const composeTrashboxURL = (position: LatLng, category: Category) => (
API_URL + '/trashbox?' + new URLSearchParams({
lat: position.lat.toString(),
lng: position.lng.toString(),
category: category,
Lat: position.lat.toString(),
Lng: position.lng.toString(),
Category: category,
}).toString()
)