mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-21 20:54:58 +05:00
fix
This commit is contained in:
parent
1d2a1d488f
commit
0ec83e0ec3
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ async function init(client) {
|
|||
if (channel) {
|
||||
client.usersData
|
||||
.find({ birthdate: { $gt: 1 } })
|
||||
.then((users) => {
|
||||
.then(async (users) => {
|
||||
for (const user of users) {
|
||||
const month = user.birthdate.getUTCMonth() + 1;
|
||||
const day = user.birthdate.getUTCDate();
|
||||
|
|
Loading…
Reference in a new issue