[API] Fix bugs
This commit is contained in:
parent
a875f1182c
commit
9f02d2d1b8
6 changed files with 6 additions and 14 deletions
|
|
@ -19,7 +19,7 @@ module.exports = (params, user) =>
|
|||
new Promise(async (res, rej) =>
|
||||
{
|
||||
// Get 'following' parameter
|
||||
const following = params.following === 'true';
|
||||
const following = params.following;
|
||||
|
||||
// Get 'limit' parameter
|
||||
let limit = params.limit;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue