Skip to content

Commit c6ad57c

Browse files
authored
Remove debug info
1 parent c189cd5 commit c6ad57c

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

src/app.js

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -110,28 +110,6 @@ function start(handlers) {
110110
});
111111
});
112112

113-
app.use('/notifications/debug', (req, res) => {
114-
const options = {
115-
from: new Date - 1 * 60 * 60 * 1000,
116-
until: new Date,
117-
limit: 100000,
118-
start: 0,
119-
order: 'desc',
120-
};
121-
122-
//
123-
// Find items logged between today and yesterday.
124-
//
125-
logger.query(options, (err, results) => {
126-
if (err) {
127-
res.status(500).json(err);
128-
return;
129-
}
130-
131-
res.status(200).json({ history: results, env: process.env });
132-
});
133-
});
134-
135113
app.use('/', apiRouter);
136114

137115

0 commit comments

Comments
 (0)