[API] Fix bugs
This commit is contained in:
parent
a875f1182c
commit
9f02d2d1b8
6 changed files with 6 additions and 14 deletions
|
|
@ -38,8 +38,6 @@ module.exports = (params, user) =>
|
|||
let markAsRead = params.mark_as_read;
|
||||
if (markAsRead == null) {
|
||||
markAsRead = true;
|
||||
} else {
|
||||
markAsRead = markAsRead === 'true';
|
||||
}
|
||||
|
||||
// Get 'limit' parameter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue