This commit is contained in:
JonnyBro 2022-06-30 23:24:58 +05:00
parent 1784b078ef
commit fee1ad9578

View file

@ -23,7 +23,7 @@ class Transactions extends Command {
if (transaction.date < timestamp) { if (transaction.date < timestamp) {
const index = data.memberData.transactions.indexOf(transaction); const index = data.memberData.transactions.indexOf(transaction);
data.memberData.transactions.splice(index, 1); data.memberData.transactions.splice(index, 1);
await data.memberData.transactions.save(); await data.memberData.save();
} }
} }