Update app.js
Browse files
app.js
CHANGED
@@ -76,7 +76,7 @@ app.get('/api/chart/:symbol', async (req, res) => {
|
|
76 |
}
|
77 |
});
|
78 |
|
79 |
-
app.get('api/getall/:symbol', async (
|
80 |
const symbol = req.params.symbol
|
81 |
try {
|
82 |
const queryOptions = { modules: ['defaultKeyStatistics', 'summaryDetail', 'earnings', 'earningsHistory', 'earningsTrend', 'assetProfile', 'balanceSheetHistory', 'balanceSheetHistoryQuarterly', 'calendarEvents', 'cashflowStatementHistory', 'cashflowStatementHistoryQuarterly', 'summaryProfile', 'financialData', 'fundOwnership', 'fundPerformance', 'fundProfile', 'incomeStatementHistory', 'incomeStatementHistoryQuarterly', 'indexTrend', 'industryTrend', 'netSharePurchaseActivity', 'price'] };
|
|
|
76 |
}
|
77 |
});
|
78 |
|
79 |
+
app.get('api/getall/:symbol', async (req, res) => {
|
80 |
const symbol = req.params.symbol
|
81 |
try {
|
82 |
const queryOptions = { modules: ['defaultKeyStatistics', 'summaryDetail', 'earnings', 'earningsHistory', 'earningsTrend', 'assetProfile', 'balanceSheetHistory', 'balanceSheetHistoryQuarterly', 'calendarEvents', 'cashflowStatementHistory', 'cashflowStatementHistoryQuarterly', 'summaryProfile', 'financialData', 'fundOwnership', 'fundPerformance', 'fundProfile', 'incomeStatementHistory', 'incomeStatementHistoryQuarterly', 'indexTrend', 'industryTrend', 'netSharePurchaseActivity', 'price'] };
|