Fix sending empty longitude when creating the initial report
This commit is contained in:
parent
60eb6b9bbf
commit
ab47259534
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ async function createReport(client_id: string, loc?: GeolocationPosition) {
|
|||
} else {
|
||||
formData.append("location.accuracy", "0");
|
||||
formData.append("location.latitude", "0");
|
||||
formData.append("longitude", "0");
|
||||
formData.append("location.longitude", "0");
|
||||
}
|
||||
const resp = await fetch("/api/rmo/compliance", {
|
||||
method: "POST",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue