Skip to content

Commit 7b74e6f

Browse files
committed
chore: changed basePath to path property for latest capture version
1 parent b9dea7f commit 7b74e6f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

map/client/utils/utils.capture.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,12 @@ export async function capture (values) {
4747
for (let index = 0; index < dateArray.length; index++) {
4848
// Setup the request body
4949
options.body = JSON.stringify({
50-
activity: kActivity.value.is3D() ? 'globe' : 'map',
5150
layers,
5251
bbox: [bbox.west, bbox.south, bbox.east, bbox.north],
5352
size: { width: +values.resolution.width, height: +values.resolution.height },
5453
layout: getLayout(values),
5554
time: dateArray[index],
56-
basePath: _.has(values, 'basePath') ? values.basePath : '/#/home/',
55+
path: _.get(values, 'path', kActivity.value.is3D() ? '/#/home/globe' : '/#/home/map'),
5756
lang: getLocale()
5857
})
5958
const response = await fetch(endpoint, options)

0 commit comments

Comments
 (0)