Removed logging from /ask api

This commit is contained in:
MrFry 2020-03-07 14:25:22 +01:00
parent 81e524978c
commit e610a7e722
2 changed files with 2 additions and 2 deletions

View file

@ -286,7 +286,7 @@ app.post('/isAdding', function (req, res) {
})
app.get('/ask', function (req, res) {
logger.LogReq(req)
// logger.LogReq(req)
if (Object.keys(req.query).length === 0) {
res.json({
message: `ask something! ?q=[question]&subj=[subject]&data=[question data]. 'subj' is optimal for faster result`,