robinhood-typescript
Advanced tools
Comparing version 1.6.0 to 1.6.1
@@ -111,3 +111,3 @@ "use strict"; | ||
try { | ||
const response = await axios_1.default.get(`${defaults_1.apiUrl}${defaults_1.endpoints.dividends}`, config); | ||
const response = await axios_1.default.get(`${defaults_1.apiUrl}${defaults_1.endpoints.watchlists}`, config); | ||
return response.data; | ||
@@ -114,0 +114,0 @@ } |
{ | ||
"name": "robinhood-typescript", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "NodeJS Framework to make trades with the private Robinhood API. Using this API is not encouraged, since it's not officially available and it has been reverse engineered. See @Sanko's Unofficial Documentation for more information.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -134,3 +134,3 @@ import { apiUrl, endpoints } from './models/defaults'; | ||
try { | ||
const response: AxiosResponse<WatchListLoaded> = await axios.get(`${apiUrl}${endpoints.dividends}`, config); | ||
const response: AxiosResponse<WatchListLoaded> = await axios.get(`${apiUrl}${endpoints.watchlists}`, config); | ||
return response.data; | ||
@@ -137,0 +137,0 @@ } catch (error) { |
Sorry, the diff of this file is too big to display
557234