doc: fix: docstring: use Promise
This commit is contained in:
@ -15,7 +15,7 @@ class Profiles
|
||||
|
||||
/**
|
||||
*
|
||||
* @returns {[Profile]}
|
||||
* @returns {Promise<[Profile]>}
|
||||
*/
|
||||
async all()
|
||||
{
|
||||
@ -53,7 +53,7 @@ class Profiles
|
||||
/**
|
||||
* Block a user
|
||||
* @param {Number} user_id
|
||||
* @returns
|
||||
* @returns {Promise<Object>}
|
||||
*/
|
||||
async block(user_id) {
|
||||
|
||||
@ -70,7 +70,7 @@ class Profiles
|
||||
/**
|
||||
* Unblock a user
|
||||
* @param {Number} user_id
|
||||
* @returns
|
||||
* @returns {Promise<Object>}
|
||||
*/
|
||||
async deblock(user_id) {
|
||||
|
||||
|
Reference in New Issue
Block a user