refactor(ynab): specify a budget when creating a connection

This commit is contained in:
Rıdvan Akca
2024-05-07 17:20:59 +02:00
parent 0f39007f92
commit 8eaf775ef2
5 changed files with 10 additions and 9 deletions

View File

@@ -9,7 +9,7 @@ export default defineTrigger({
async run($) {
const goalCompletedCategories = [];
const response = await $.http.get('/budgets/last-used/categories');
const response = await $.http.get('/budgets/default/categories');
const categoryGroups = response.data.data.category_groups;
categoryGroups.forEach((group) => {