Skip to content

Commit

Permalink
Ensure api doesn't change with type introduction
Browse files Browse the repository at this point in the history
  • Loading branch information
twk3 committed Jan 18, 2024
1 parent 9b2b7dc commit 3d8d317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/methods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
}

Expand Down

0 comments on commit 3d8d317

Please sign in to comment.