strette di mano
This commit is contained in:
@@ -493,6 +493,20 @@ module.exports = {
|
||||
});
|
||||
console.log('req_friends.username result = ', ris);
|
||||
|
||||
ris = await User.updateMany({ idapp, 'profile.handshake.username': search_username },
|
||||
{
|
||||
$set:
|
||||
{ 'profile.handshake.$.username': replace_username }
|
||||
});
|
||||
console.log('handshake.username result = ', ris);
|
||||
|
||||
ris = await User.updateMany({ idapp, 'profile.req_handshake.username': search_username },
|
||||
{
|
||||
$set:
|
||||
{ 'profile.req_handshake.$.username': replace_username }
|
||||
});
|
||||
console.log('req_handshake.username result = ', ris);
|
||||
|
||||
ris = await Circuit.updateMany({ idapp, 'admins.username': search_username },
|
||||
{ $set: { 'admins.$.username': replace_username } });
|
||||
console.log('Circuit.admins.username result = ', ris);
|
||||
|
||||
Reference in New Issue
Block a user