refactor(ynab): specify a budget when creating a connection
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user