diff options
Diffstat (limited to 'vnext/src/api')
-rw-r--r-- | vnext/src/api/index.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/vnext/src/api/index.js b/vnext/src/api/index.js index 2af6c867..ef753eaf 100644 --- a/vnext/src/api/index.js +++ b/vnext/src/api/index.js @@ -87,7 +87,6 @@ client.interceptors.request.use(config => { /** * fetch my info - * * @param {string} username * @param {string} password * @returns {Promise<SecureUser, Error>} me object @@ -184,7 +183,6 @@ export function comment(mid, rid, body, attach) { } /** * Edit message - * * @param {number} mid * @param {number} rid * @param {string?} body @@ -198,7 +196,6 @@ export function update(mid, rid, body) { } /** * Update user avatar - * * @param {string} newAvatar */ export function updateAvatar(newAvatar) { @@ -247,7 +244,6 @@ let profileCache = {}; /** * Fetch user profile - * * @param {string} profileUrl User profile URL */ export function fetchUserUri(profileUrl) { @@ -283,7 +279,6 @@ export function fetchUserUri(profileUrl) { /** * Fetch Tweet content - * * @param {string} url Tweet URL * @returns {Promise<string>} HTML content */ @@ -300,7 +295,6 @@ export function fetchUserUri(profileUrl) { /** * Checks if HTTP error code is redirection code - * * @param {number} code HTTP error code * @returns {boolean} is HTTP request redirected or not */ @@ -310,7 +304,6 @@ function isHttpRedirected(code = 200) { /** * Checks if HTTP error code is successful code - * * @param {number} code HTTP error code * @returns {boolean} is HTTP request successful or not */ @@ -320,7 +313,6 @@ function isHttpSuccessful(code = 200) { /** * Resolves shortened url to actual one - * * @param {string} url URL to resolve * @returns {Promise<string>} full URL */ |