Skip to content

Commit

Permalink
fix(ls): ls response object
Browse files Browse the repository at this point in the history
  • Loading branch information
shuntaka9576 committed Mar 21, 2024
1 parent 67db14b commit 4b01927
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ List an issue in project.
```bash
# To specify an organization, use -o instead of -u.
gh p2 ls -u "ownerName" -p "project" |\
jq -r '["type", "number", "title", "status", "url"], (.items[] |[.type, .number, .title, .singleFiledValues.Status, .url]) | @csv'
jq -r '["type", "number", "title", "status", "url"], (.items[] |[.type, .number, .title, .singleSelectValues.Status, .url]) | @csv'
```

Stdout
Expand Down
2 changes: 1 addition & 1 deletion p2_items.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ type GetProjectItemsRes struct {

type IssueItem struct {
Title string `json:"title"`
SingleSelectValues map[string]string `json:"singleFiledValues"`
SingleSelectValues map[string]string `json:"singleSelectValues"`
ItemType gh.ITEM_TYPE `json:"type"`
Body string `json:"body"`
URL string `json:"url"`
Expand Down

0 comments on commit 4b01927

Please sign in to comment.