Skip to content

Commit

Permalink
remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
davidvitora committed Jul 26, 2023
1 parent e0be7b2 commit ed6679f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/nlu/src/backend/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ export const registerRouter = async (bp: typeof sdk, app: NLUApplication) => {
const ip = getIp(req)

if (ip && ip !== '127.0.0.1' && ip !== '::1' && ip !== '::ffff:127.0.0.1') {
console.log('is external Call')
const axiosConfig = await bp.http.getAxiosConfigForBot(botId, { localUrl: true })
await axios.post('/mod/analytics/custom_metrics/external_nlu_predict_calls/increment', {}, axiosConfig)
}
Expand Down

0 comments on commit ed6679f

Please sign in to comment.