fix:pipeline for neareast store
This commit is contained in:
parent
3a021c1748
commit
fcfdbc4458
@ -253,7 +253,7 @@ export const SALES_REPORT_SO_NAMES = [
|
||||
// --- Pipeline Endpoints ---
|
||||
export const PIPELINE = {
|
||||
endpoints: {
|
||||
nearestStores: '/api/p/krishna-group/v1/nearest-stores',
|
||||
nearestStores: '/api/papi2/nearest-stores',
|
||||
dailySalesReport: '/api/papi2/daily-sales-report',
|
||||
productiveCallSummary: '/api/papi2/productive-call-summary',
|
||||
salesOfficers: '/api/papi2/sales-officers'
|
||||
|
||||
@ -64,7 +64,11 @@ export function NearestStoresMap() {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'accept': 'application/json, text/plain, */*',
|
||||
'content-type': 'application/json'
|
||||
'content-type': 'application/json',
|
||||
'groupid': '25',
|
||||
'orgid': '57',
|
||||
'templateid': '189',
|
||||
'x-pipeline-version': 'latest'
|
||||
},
|
||||
body: JSON.stringify({
|
||||
latitude: lat,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user