diff --git a/src/backend.ts b/src/backend.ts index 3990fe0..f4b51b0 100644 --- a/src/backend.ts +++ b/src/backend.ts @@ -90,7 +90,7 @@ export default async function init(router: Router): Promise { options: (() => { const result: { [option: string]: number } = {}; for (const option of options) { - result[option] = 0; + if (option) result[option] = 0; } return result; })(),