mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 17:24:02 +00:00
fix: resolve remaining format and test failures
Co-authored-by: claw <stanislavkalishin+claw@gmail.com>
This commit is contained in:
@@ -20,11 +20,7 @@ function parsePositiveInteger(name: string, fallback: number): number {
|
||||
return parsed
|
||||
}
|
||||
|
||||
async function runOnce(input: {
|
||||
baseUrl: string
|
||||
schedulerSecret: string
|
||||
dueScanLimit: number
|
||||
}) {
|
||||
async function runOnce(input: { baseUrl: string; schedulerSecret: string; dueScanLimit: number }) {
|
||||
const response = await fetch(`${input.baseUrl}/jobs/dispatch-due?limit=${input.dueScanLimit}`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
|
||||
Reference in New Issue
Block a user