mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-26 10:06:13 +00:00
updates jsdoc comment
This commit is contained in:
parent
cbe75c918e
commit
2e873b64d5
@ -8,7 +8,7 @@ export default Base.extend({
|
||||
* Resolves with data object returned from successful request.
|
||||
* @param {string} username username to authenticate with
|
||||
* @param {string} password matching candidate password for username
|
||||
* @return {Promise<{}>}
|
||||
* @return {Promise<IAuthenticationData>}
|
||||
*/
|
||||
authenticate: async (username: string, password: string): Promise<IAuthenticationData> => {
|
||||
const { data } = await postJSON<IAuthenticateResponse>({
|
||||
|
Loading…
x
Reference in New Issue
Block a user