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