Commit 7f6a639 1 parent a8e78ec commit 7f6a639 Copy full SHA for 7f6a639
File tree 2 files changed +19
-7
lines changed
2 files changed +19
-7
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -116,8 +116,8 @@ module.exports = function(RED) {
116
116
while ( ! done ) {
117
117
var response = await client [ config . operation ] ( operationParamCopy ) . promise ( )
118
118
msgCopy . payload = response
119
- if ( paginatorDef && response [ paginatorDef . output_token ] ) {
120
- console . log ( `paginating ${ config . service } :${ config . operation } on ${ paginatorDef . output_token } ` )
119
+ if ( config . paging !== 'disabled' && paginatorDef && response [ paginatorDef . output_token ] ) {
120
+ // console.log(`paginating ${config.service}:${config.operation} on ${paginatorDef.output_token}`)
121
121
operationParamCopy [ paginatorDef . input_token ] = response [ paginatorDef . output_token ]
122
122
delete msgCopy . complete
123
123
node . send ( [ msgCopy , null ] )
You can’t perform that action at this time.
0 commit comments