test: fix tests

This commit is contained in:
Barış Soner Uşaklı
2024-11-25 18:42:59 -05:00
parent 669c9c5027
commit 173c604a2c
2 changed files with 2 additions and 4 deletions

View File

@@ -50,7 +50,7 @@ module.exports = function (User) {
lastonline: timestamp,
status: 'online',
};
['picture', 'fullname', 'location', 'birthday'].forEach((field) => {
['picture', 'fullname', 'birthday'].forEach((field) => {
if (data[field]) {
userData[field] = data[field];
}