mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04:58 +05:00
oops
This commit is contained in:
parent
1784b078ef
commit
fee1ad9578
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue