diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2026-07-29 15:16:34 -0230 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2026-07-29 15:16:34 -0230 |
| commit | 895bddce2c42e7acb631c23914d2f3568a498c3a (patch) | |
| tree | 631817f612016476edcc84f2fcde3ed30a92a229 /cmd | |
| parent | 12aba53395c295880638f7f58f3a00271682bb58 (diff) | |
| download | lulu-895bddce2c42e7acb631c23914d2f3568a498c3a.zip | |
rename LineItems to Items
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/lulu/job.go | 2 | ||||
| -rw-r--r-- | cmd/lulu/jobs.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/lulu/job.go b/cmd/lulu/job.go index 0678337..b12fbe7 100644 --- a/cmd/lulu/job.go +++ b/cmd/lulu/job.go @@ -37,7 +37,7 @@ func (cmd JobCmd) Run(clnt *lulu.Client) error { if err := w.Indent(); err != nil { return err } - for _, item := range job.LineItems { + for _, item := range job.Items { print(w, "extid", item.ExternalId) print(w, "id", item.Id) print(w, "printable-id", item.PrintableId) diff --git a/cmd/lulu/jobs.go b/cmd/lulu/jobs.go index 19deb35..98d656b 100644 --- a/cmd/lulu/jobs.go +++ b/cmd/lulu/jobs.go @@ -39,7 +39,7 @@ func (cmd JobsCmd) Run(clnt *lulu.Client) error { job.ExternalId, job.Id, job.OrderId, - len(job.LineItems), + len(job.Items), fmt.Sprintf("%s%s", job.Cost.TotalCostInclTax, job.Cost.Currency), job.Status.Status) } |