mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
sanitize task when updating in v2
This commit is contained in:
@@ -12,7 +12,7 @@ let discriminatorOptions = {
|
||||
};
|
||||
let subDiscriminatorOptions = _.defaults(_.cloneDeep(discriminatorOptions), {
|
||||
_id: false,
|
||||
minimize: false,
|
||||
minimize: false, // So empty objects are returned
|
||||
});
|
||||
|
||||
export let tasksTypes = ['habit', 'daily', 'todo', 'reward'];
|
||||
|
||||
Reference in New Issue
Block a user