doc: fix: docstring: use Promise
This commit is contained in:
@ -33,6 +33,10 @@ class Profile
|
||||
this.isBlocked = false;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @returns {Promise<*>}
|
||||
*/
|
||||
async init()
|
||||
{
|
||||
let response = await this.client._get(`/api/profiles/${this.username}`);
|
||||
|
Reference in New Issue
Block a user