typo
This commit is contained in:
parent
0caf1bab09
commit
9e8d4f61b2
|
@ -23,7 +23,7 @@ module.exports = (params, me) => new Promise(async (res, rej) => {
|
||||||
const [offset = 0, offsetErr] = $(params.offset).optional.number().min(0).$;
|
const [offset = 0, offsetErr] = $(params.offset).optional.number().min(0).$;
|
||||||
if (offsetErr) return rej('invalid offset param');
|
if (offsetErr) return rej('invalid offset param');
|
||||||
|
|
||||||
// ID list of the user $self and other users who the user follows
|
// ID list of the user itself and other users who the user follows
|
||||||
const followingIds = await getFriends(me._id);
|
const followingIds = await getFriends(me._id);
|
||||||
|
|
||||||
const users = await User
|
const users = await User
|
||||||
|
|
Loading…
Reference in a new issue