feat(public:loads:tracking): Adding missing fields to public tracking data
This commit is contained in:
@@ -55,12 +55,18 @@ const getById = async(req, res) => {
|
|||||||
"product",
|
"product",
|
||||||
"est_loading_date",
|
"est_loading_date",
|
||||||
"est_unloading_date",
|
"est_unloading_date",
|
||||||
|
"origin.company_name",
|
||||||
"origin.city",
|
"origin.city",
|
||||||
"origin.state",
|
"origin.state",
|
||||||
|
"origin.street_address1",
|
||||||
|
"origin.street_address2",
|
||||||
"origin.lat",
|
"origin.lat",
|
||||||
"origin.lng",
|
"origin.lng",
|
||||||
|
"destination.company_name",
|
||||||
"destination.city",
|
"destination.city",
|
||||||
"destination.state",
|
"destination.state",
|
||||||
|
"destination.street_address1",
|
||||||
|
"destination.street_address2",
|
||||||
"destination.lat",
|
"destination.lat",
|
||||||
"destination.lng",
|
"destination.lng",
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
require('dotenv').config();
|
require('dotenv').config();
|
||||||
const { ROOT_PATH, LIB_PATH, API_CONFIG } = process.env;
|
|
||||||
process.env.TZ='utc';
|
process.env.TZ='utc';
|
||||||
|
|
||||||
const apiConfig = require( `${ROOT_PATH}/${API_CONFIG}` );
|
const apiConfig = require( './config/apiConfig.json' );
|
||||||
const apps = require('./apps');
|
const apps = require('./apps');
|
||||||
|
|
||||||
const express = require('express');
|
const express = require('express');
|
||||||
|
|||||||
Reference in New Issue
Block a user