mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 20:45:58 +01:00
fixed favouriting
This commit is contained in:
@@ -108,7 +108,9 @@
|
||||
|
||||
module.searchRemove = function(key, id) {
|
||||
db.collection('search').remove({id:id, key:key}, function(err, result) {
|
||||
callback(err, result);
|
||||
if(err) {
|
||||
winston.error('Error removing search ' + err.message);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user