Skip to content

Commit

Permalink
logs to test
Browse files Browse the repository at this point in the history
  • Loading branch information
jricaldi committed Oct 27, 2019
1 parent 788d3dd commit 38bbc31
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server/src/lib/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@ export default class API {
getRandomSentences = async (request: Request, response: Response) => {
const { client_id, params, query } = request;
const { NUMBER_SENTENCES } = getConfig();
console.log('PPPPPPPPPPPPPPPPPPPPPPPPPPPPP');
console.log('NUMBER_SENTENCES', NUMBER_SENTENCES);
console.log('NUMBER_SENTENCES env', process.env.NUMBER_SENTENCES);
console.log('PPPPPPPPPPPPPPPPPPPPPPPPPPPPP');
if (!query.contractor) {
response
.status(500)
Expand Down

0 comments on commit 38bbc31

Please sign in to comment.