lint: fix paranthesis

This commit is contained in:
Barış Soner Uşaklı
2024-12-22 13:34:29 -05:00
parent 49d8618934
commit 8fd8079a84

View File

@@ -179,7 +179,7 @@ Actors.assert = async (ids, options = {}) => {
memo.handleAdd[profile.username.toLowerCase()] = profile.uid; memo.handleAdd[profile.username.toLowerCase()] = profile.uid;
} }
if (options.update || profile.fullname && fullname !== profile.fullname) { if (options.update || (profile.fullname && fullname !== profile.fullname)) {
if (fullname && uidsForCurrent[idx] !== 0) { if (fullname && uidsForCurrent[idx] !== 0) {
memo.searchRemove.push(['ap.name:sorted', `${fullname.toLowerCase()}:${profile.uid}`]); memo.searchRemove.push(['ap.name:sorted', `${fullname.toLowerCase()}:${profile.uid}`]);
} }