fix: bool eval order

This commit is contained in:
Aryan Kothari
2024-08-01 15:54:12 -04:00
parent 2c4bc7a2b2
commit 06a64219bc
4 changed files with 10 additions and 10 deletions

View File

@@ -421,7 +421,7 @@
files: chatFiles
});
await chats.set(
await getChatList(localStorage.token, 0, $pageSkip * $pageLimit || $pageLimit)
await getChatList(localStorage.token, 0, ($pageSkip * $pageLimit) || $pageLimit)
);
}
}
@@ -469,7 +469,7 @@
files: chatFiles
});
await chats.set(
await getChatList(localStorage.token, 0, $pageSkip * $pageLimit || $pageLimit)
await getChatList(localStorage.token, 0, ($pageSkip * $pageLimit) || $pageLimit)
);
}
}
@@ -631,7 +631,7 @@
timestamp: Date.now()
});
await chats.set(
await getChatList(localStorage.token, 0, $pageSkip * $pageLimit || $pageLimit)
await getChatList(localStorage.token, 0, ($pageSkip * $pageLimit) || $pageLimit)
);
await chatId.set(chat.id);
} else {
@@ -708,7 +708,7 @@
})
);
await chats.set(await getChatList(localStorage.token, 0, $pageSkip * $pageLimit || $pageLimit));
await chats.set(await getChatList(localStorage.token, 0, ($pageSkip * $pageLimit) || $pageLimit));
return _responses;
};