Skip to content
This repository was archived by the owner on Jul 9, 2024. It is now read-only.

Commit 6e6a0eb

Browse files
committed
fix(cellgeo): send resolution if new cell
Fixes NordicSemiconductor/asset-tracker-cloud-app-js#306
1 parent 4bb9cb2 commit 6e6a0eb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

geolocateCellFromUnwiredLabs/geolocateCellFromUnwiredLabs.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,11 @@ const geolocateCellFromUnwiredLabs: AzureFunction = async (
6262
return
6363
}
6464

65-
const { cell: c, area, mccmnc } = req.query as {
65+
const {
66+
cell: c,
67+
area,
68+
mccmnc,
69+
} = req.query as {
6670
cell: string
6771
area: string
6872
mccmnc: string
@@ -106,6 +110,7 @@ const geolocateCellFromUnwiredLabs: AzureFunction = async (
106110
...maybeLocation.right,
107111
})
108112
log(context)({ location: maybeLocation.right })
113+
context.res = result(context)(maybeLocation.right)
109114
}
110115
}
111116
} catch (error) {

0 commit comments

Comments
 (0)