Skip to content

Commit

Permalink
fix http conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-liu55 committed Jul 24, 2020
1 parent e436a3d commit bddfce8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -512,8 +512,8 @@ public void start() {
context.addServlet(new ServletHolder(metricsServlet), "/monitor/getstatsinfo");
context.addServlet(new ServletHolder(getNodeInfoServlet), "/monitor/getnodeinfo");

context.addServlet(new ServletHolder(marketSellAssetServlet), "/marketsellasset");
context.addServlet(new ServletHolder(marketCancelOrderServlet), "/marketcancelorder");
context.addServlet(new ServletHolder(marketSellAssetServlet), "/wallet/marketsellasset");
context.addServlet(new ServletHolder(marketCancelOrderServlet), "/wallet/marketcancelorder");
context.addServlet(new ServletHolder(getMarketOrderByAccountServlet),
"/wallet/getmarketorderbyaccount");
context.addServlet(new ServletHolder(getMarketOrderByIdServlet),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,9 @@ public class HttpSelfFormatFieldName {
NameFieldNameMap.put("protocol.MarketSellAssetContract.sell_token_id", 1);
NameFieldNameMap.put("protocol.MarketSellAssetContract.buy_token_id", 1);

// MarketCancelOrderServlet
AddressFieldNameMap.put("protocol.MarketCancelOrderContract.owner_address", 1);

// MarketOrder
AddressFieldNameMap.put("protocol.MarketOrder.owner_address", 1);
NameFieldNameMap.put("protocol.MarketOrder.sell_token_id", 1);
Expand Down

0 comments on commit bddfce8

Please sign in to comment.