Commit 62ed54d62e25bb7035f3d56b08358462459b486a
1 parent
bd130ca31c
Exists in
master
typo
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
gateway/pull.js
... | ... | @@ -119,14 +119,14 @@ function pullTask() { |
119 | 119 | |
120 | 120 | if (config.pull_task_use_post) { |
121 | 121 | //logger.verbose('Requesting PULL-TASK to CORE using POST'); |
122 | - if (KOMODO_SDK_DEBUG_PULL) { | |
122 | + if (procces.env.KOMODO_SDK_DEBUG_PULL) { | |
123 | 123 | logger.verbose('PULL TASK using HTTP POST'); |
124 | 124 | } |
125 | 125 | options.method = 'POST'; |
126 | 126 | options.form = body_or_qs; |
127 | 127 | } |
128 | 128 | else { |
129 | - if (KOMODO_SDK_DEBUG_PULL) { | |
129 | + if (procces.env.KOMODO_SDK_DEBUG_PULL) { | |
130 | 130 | logger.verbose('PULL TASK using HTTP GET'); |
131 | 131 | } |
132 | 132 | options.method = 'GET'; |