Merge branch 'bug/nse_type' into 'develop'
fix bug See merge request india/india_market_java!50
This commit is contained in:
@@ -218,7 +218,7 @@ public class MoneyApiController {
|
|||||||
return ServerResponse.createBySuccess(json1);
|
return ServerResponse.createBySuccess(json1);
|
||||||
}
|
}
|
||||||
|
|
||||||
String url = String.format("https://priceapi.moneycontrol.com/pricefeed/%s/equitycash/%s", stockType, symbol);
|
String url = String.format("https://priceapi.moneycontrol.com/pricefeed/%s/equitycash/%s", stockType.toLowerCase(), symbol);
|
||||||
int maxRetries = 3;
|
int maxRetries = 3;
|
||||||
for (int retry = 1; retry <= maxRetries; retry++) {
|
for (int retry = 1; retry <= maxRetries; retry++) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user