- se iOS non ricarica la pagina ma disinstalla il SW precedente e chiede di riavviare
- fixed: Creando un Conto di Gruppo, pare che venga impostato anche l'username... invece dev'essere solo il groupname -
This commit is contained in:
@@ -5021,22 +5021,22 @@ UserSchema.statics.moverecordsFavorite = async function (tab) {
|
||||
};
|
||||
|
||||
UserSchema.statics.removerecordsFavorite = async function () {
|
||||
// Rimuovi i record del vecchio schema
|
||||
const attivacanc = true;
|
||||
// Rimuovi i record del vecchio schema
|
||||
const attivacanc = true;
|
||||
|
||||
if (attivacanc) {
|
||||
const queryfind = { idapp: '13' };
|
||||
await User.findOneAndUpdate(queryfind, {
|
||||
$set:
|
||||
{
|
||||
'profile.favorite': [],
|
||||
'profile.bookmark': [],
|
||||
'profile.attend': [],
|
||||
'profile.seen': []
|
||||
},
|
||||
});
|
||||
if (attivacanc) {
|
||||
const queryfind = { idapp: '13' };
|
||||
await User.findOneAndUpdate(queryfind, {
|
||||
$set:
|
||||
{
|
||||
'profile.favorite': [],
|
||||
'profile.bookmark': [],
|
||||
'profile.attend': [],
|
||||
'profile.seen': []
|
||||
},
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
UserSchema.statics.updateVersion = async function (userversion, recUser) {
|
||||
|
||||
Reference in New Issue
Block a user