Skip to content
This repository was archived by the owner on Nov 18, 2025. It is now read-only.

Commit c5b181c

Browse files
Update docs/migration/nynab.md
Co-authored-by: Stephen Brown II <Stephen.Brown2@gmail.com>
1 parent de2aea8 commit c5b181c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/migration/nynab.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ This will get the list of all the budgets you have. You'll need to find the id o
3737
It might help to use pretty formatting to find the budget id by piping to `jq` (which can be installed with homebrew `brew install jq`):
3838

3939
```
40-
curl -H "Authorization: Bearer <ACCESS_TOKEN>" https://api.youneedabudget.com/v1/budgets | jq .
40+
curl -sH "Authorization: Bearer <ACCESS_TOKEN>" https://api.youneedabudget.com/v1/budgets | jq -r '.data.budgets | sort_by(.last_modified_on) | reverse | .[] | "\(.name): \(.id)"'
4141
```
4242

4343
If you receive an error message like: `Invoke-WebRequest : Cannot bind parameter 'Headers'`, this is because curl is probably aliased to the "Invoke-WebRequest" Powershell commandlet. Use `curl.exe` instead of just `curl` in the commands below to fix this.

0 commit comments

Comments
 (0)