mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 23:27:26 +01:00
v3: fix iap url
This commit is contained in:
@@ -529,9 +529,7 @@ schema.plugin(baseModel, {
|
||||
noSet: [],
|
||||
private: ['auth.local.hashed_password', 'auth.local.salt'],
|
||||
toJSONTransform: function userToJSON (plainObj, originalDoc) {
|
||||
plainObj.id = plainObj._id;
|
||||
|
||||
// plainObj.filters = {}; TODO Not saved, remove?
|
||||
// plainObj.filters = {}; // TODO Not saved, remove?
|
||||
plainObj._tmp = originalDoc._tmp; // be sure to send down drop notifs
|
||||
|
||||
return plainObj;
|
||||
|
||||
Reference in New Issue
Block a user