Update utils.js

This commit is contained in:
Aleksandr Statciuk 2021-10-06 18:23:09 +03:00
parent 39723b2e8f
commit 51f012d103
1 changed files with 4 additions and 0 deletions

View File

@ -169,6 +169,10 @@ utils.buildRequest = async function (item, config) {
request.url = await utils.getRequestUrl(item, config)
request.data = await utils.getRequestData(item, config)
if (config.debug) {
console.log('Request:', JSON.stringify(request, null, 2))
}
return request
}