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 ---
|
// --- Pipeline Endpoints ---
|
||||||
export const PIPELINE = {
|
export const PIPELINE = {
|
||||||
endpoints: {
|
endpoints: {
|
||||||
nearestStores: '/api/p/krishna-group/v1/nearest-stores',
|
nearestStores: '/api/papi2/nearest-stores',
|
||||||
dailySalesReport: '/api/papi2/daily-sales-report',
|
dailySalesReport: '/api/papi2/daily-sales-report',
|
||||||
productiveCallSummary: '/api/papi2/productive-call-summary',
|
productiveCallSummary: '/api/papi2/productive-call-summary',
|
||||||
salesOfficers: '/api/papi2/sales-officers'
|
salesOfficers: '/api/papi2/sales-officers'
|
||||||
|
|||||||
@ -64,7 +64,11 @@ export function NearestStoresMap() {
|
|||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'accept': 'application/json, text/plain, */*',
|
'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({
|
body: JSON.stringify({
|
||||||
latitude: lat,
|
latitude: lat,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user