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",
|
||||
"est_loading_date",
|
||||
"est_unloading_date",
|
||||
"origin.company_name",
|
||||
"origin.city",
|
||||
"origin.state",
|
||||
"origin.street_address1",
|
||||
"origin.street_address2",
|
||||
"origin.lat",
|
||||
"origin.lng",
|
||||
"destination.company_name",
|
||||
"destination.city",
|
||||
"destination.state",
|
||||
"destination.street_address1",
|
||||
"destination.street_address2",
|
||||
"destination.lat",
|
||||
"destination.lng",
|
||||
];
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
'use strict';
|
||||
require('dotenv').config();
|
||||
const { ROOT_PATH, LIB_PATH, API_CONFIG } = process.env;
|
||||
process.env.TZ='utc';
|
||||
|
||||
const apiConfig = require( `${ROOT_PATH}/${API_CONFIG}` );
|
||||
const apiConfig = require( './config/apiConfig.json' );
|
||||
const apps = require('./apps');
|
||||
|
||||
const express = require('express');
|
||||
|
||||
Reference in New Issue
Block a user