From 3d8d3170ebe140b53ae4064190704897ca904225 Mon Sep 17 00:00:00 2001 From: DJ Mountney Date: Thu, 18 Jan 2024 12:48:31 -0800 Subject: [PATCH] Ensure api doesn't change with type introduction --- packages/api/methods.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api/methods.ts b/packages/api/methods.ts index 272a9b4693a..64797f2c4e2 100644 --- a/packages/api/methods.ts +++ b/packages/api/methods.ts @@ -27,7 +27,7 @@ export async function loadBudget(budgetId) { return send('api/load-budget', { id: budgetId }); } -export async function downloadBudget(syncId, password?) { +export async function downloadBudget(syncId, { password }: { password? } = {}) { return send('api/download-budget', { syncId, password }); }