feat: rabbit and reptile feedback changes

This commit is contained in:
=
2025-05-15 00:56:53 +05:30
parent 67fc16ecd3
commit eca2b3ccde
8 changed files with 18 additions and 13 deletions
+1 -1
View File
@@ -230,7 +230,7 @@ export const userServiceFactory = ({
if (duplicatedAccounts.length && myAccount) {
await userDAL.transaction(async (tx) => {
await userDAL.delete({ $in: { id: duplicatedAccounts?.map((el) => el.id) } }, tx);
await userDAL.updateById(userId, { username: myAccount.username.toLowerCase() });
await userDAL.updateById(userId, { username: myAccount.username.toLowerCase() }, tx);
});
}
};