doc: fix: docstring: use Promise

This commit is contained in:
2024-01-25 17:37:08 +01:00
parent 8eeb9ed4ab
commit c23500e0a0
8 changed files with 42 additions and 19 deletions

View File

@ -33,6 +33,10 @@ class Profile
this.isBlocked = false;
}
/**
*
* @returns {Promise<*>}
*/
async init()
{
let response = await this.client._get(`/api/profiles/${this.username}`);