mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
fix exports
This commit is contained in:
@@ -2,7 +2,7 @@ import merge from 'lodash/merge';
|
||||
import omit from 'lodash/omit';
|
||||
|
||||
// From server pass task.toObject() not the task document directly
|
||||
module.exports = function updateTask (task, req = {}) {
|
||||
export default function updateTask (task, req = {}) {
|
||||
let body = req.body || {};
|
||||
|
||||
// If reminders are updated -> replace the original ones
|
||||
@@ -32,4 +32,4 @@ module.exports = function updateTask (task, req = {}) {
|
||||
}
|
||||
|
||||
return [task];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user