Browse Source

HPCC-12196 Update based on review

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Anthony Fishbeck 9 years ago
parent
commit
e5ad2f6b9e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      common/thorhelper/thorsoapcall.cpp

+ 1 - 1
common/thorhelper/thorsoapcall.cpp

@@ -1650,7 +1650,7 @@ private:
             path.append(master->inputpath.get());
         CMatchCB matchCB(*this, url, NULL, meta);
         Owned<IXMLParse> xmlParser;
-        if (strieq(this->master->acceptType.str(), "application/json"))
+        if (strieq(master->acceptType.str(), "application/json"))
             xmlParser.setown(createJSONParse((const void *)response.str(), (unsigned)response.length(), path.str(), matchCB, options, false, true));
         else
             xmlParser.setown(createXMLParse((const void *)response.str(), (unsigned)response.length(), path.str(), matchCB, options, false));