remove obsolete logging
This commit is contained in:
@@ -82,8 +82,6 @@ const updateMapping = (req, res) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const getAllIncidentsController = (req, res) => {
|
const getAllIncidentsController = (req, res) => {
|
||||||
console.log('get all incidents : ');
|
|
||||||
console.log(req.params);
|
|
||||||
const dateRange = {
|
const dateRange = {
|
||||||
startDate: req.params.startDate,
|
startDate: req.params.startDate,
|
||||||
endDate: req.params.endDate,
|
endDate: req.params.endDate,
|
||||||
@@ -181,8 +179,6 @@ const addFees = (req, res) => {
|
|||||||
|
|
||||||
const deleteFees= (req, res) => {
|
const deleteFees= (req, res) => {
|
||||||
const deleteData = req.body;
|
const deleteData = req.body;
|
||||||
console.log('Delete fees request : ');
|
|
||||||
console.log(req.body);
|
|
||||||
const dateRange = deleteData.dateRange ? deleteData.dateRange : null;
|
const dateRange = deleteData.dateRange ? deleteData.dateRange : null;
|
||||||
const incidents = deleteData.incidentsToDelete ? deleteData.incidentsToDelete : null;
|
const incidents = deleteData.incidentsToDelete ? deleteData.incidentsToDelete : null;
|
||||||
|
|
||||||
|
|||||||
@@ -275,7 +275,6 @@ const deleteBookingChangeIncidents = (incidents) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const deleteBookingChangeIncidentsById = (incidentIds) => {
|
const deleteBookingChangeIncidentsById = (incidentIds) => {
|
||||||
console.log('Delete booking changes in DB :', incidentIds);
|
|
||||||
const filters = {
|
const filters = {
|
||||||
id: {
|
id: {
|
||||||
[Op.in]: incidentIds
|
[Op.in]: incidentIds
|
||||||
|
|||||||
@@ -71,7 +71,6 @@ const insertUnscheduledIncidents = (incidents) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const deleteUnscheduledIncidentsById = (incidentIds) => {
|
const deleteUnscheduledIncidentsById = (incidentIds) => {
|
||||||
console.log('Delete unscheduled in DB :', incidentIds);
|
|
||||||
const filters = {
|
const filters = {
|
||||||
id: {
|
id: {
|
||||||
[Op.in]: incidentIds
|
[Op.in]: incidentIds
|
||||||
@@ -116,7 +115,6 @@ const insertUnlockedIncidents = (incidents) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const deleteUnlockedIncidentsById = (incidentIds) => {
|
const deleteUnlockedIncidentsById = (incidentIds) => {
|
||||||
console.log('Delete unlocked in DB :', incidentIds);
|
|
||||||
const filters = {
|
const filters = {
|
||||||
id: {
|
id: {
|
||||||
[Op.in]: incidentIds
|
[Op.in]: incidentIds
|
||||||
|
|||||||
Reference in New Issue
Block a user