Skip to content

Commit

Permalink
fix: Geolocation upload
Browse files Browse the repository at this point in the history
Allow `startOpenPathUploadAndPipeline` call with no param. This is
currently done in the `handleConnectivityChange` method, which was
failing because of that.
  • Loading branch information
paultranvan committed Feb 26, 2024
1 parent 5099b39 commit 460097e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/domain/geolocation/tracking/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export const startTracking = async () => {

return true
} catch (e) {
Log('Error on tracking start : ', JSON.stringify(e))
log.error(e)

return false
Expand Down Expand Up @@ -238,7 +239,7 @@ export const handleConnectivityChange = async event => {
export const startOpenPathUploadAndPipeline = async ({
untilTs = 0,
force = false
}) => {
} = {}) => {
try {
const user = await getOrCreateId()
Log(`User: ${JSON.stringify(user)}`)
Expand Down

0 comments on commit 460097e

Please sign in to comment.