[API] Fix bugs
This commit is contained in:
parent
3fa905dee2
commit
46e85e5cc3
7 changed files with 21 additions and 11 deletions
|
|
@ -31,7 +31,9 @@ module.exports = (params, user) =>
|
|||
_id: new mongo.ObjectID(fileId),
|
||||
user_id: user._id
|
||||
}, {
|
||||
data: false
|
||||
fields: {
|
||||
data: false
|
||||
}
|
||||
});
|
||||
|
||||
if (file === null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue