removed additional function
This commit is contained in:
parent
0a61acdf8f
commit
a9218e1625
1 changed files with 0 additions and 12 deletions
|
@ -232,18 +232,6 @@ export async function holdForNextMonth({ month, amount }) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function holdForFutureMonths({ startMonth, amount }) {
|
|
||||||
let months = getAllMonths(startMonth);
|
|
||||||
|
|
||||||
await batchMessages(async () => {
|
|
||||||
for (let month of months) {
|
|
||||||
if (!(await holdForNextMonth({ month, amount }))) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
export async function resetHold({ month }) {
|
export async function resetHold({ month }) {
|
||||||
await setBuffer(month, 0);
|
await setBuffer(month, 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue