remove obsolete logging

This commit is contained in:
Bilal Catic
2019-11-21 14:34:50 +01:00
parent 445a635300
commit fa4e574d6e
3 changed files with 0 additions and 7 deletions

View File

@@ -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;

View File

@@ -275,7 +275,6 @@ const deleteBookingChangeIncidents = (incidents) => {
};
const deleteBookingChangeIncidentsById = (incidentIds) => {
console.log('Delete booking changes in DB :', incidentIds);
const filters = {
id: {
[Op.in]: incidentIds

View File

@@ -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