Browse Source

HPCC-12196 Update based on review

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Anthony Fishbeck 9 năm trước cách đây
mục cha
commit
e5ad2f6b9e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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));