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 /print.go | |
| parent | 12aba53395c295880638f7f58f3a00271682bb58 (diff) | |
| download | lulu-895bddce2c42e7acb631c23914d2f3568a498c3a.zip | |
rename LineItems to Items
Diffstat (limited to 'print.go')
| -rw-r--r-- | print.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -14,7 +14,7 @@ const ( type printReq[P Printable | Reprintable] struct { Contact EmailAddress `json:"contact_email"` ExternalId string `json:"external_id"` - LineItems []P `json:"line_items"` + Items []P `json:"line_items"` ProductionDelayMins uint `json:"production_delay"` ShipAddr ShippingAddress `json:"shipping_address"` ShipOpt ShippingLevel `json:"shipping_level"` @@ -97,7 +97,7 @@ type PrintJob struct { Id uint64 `json:"id"` - LineItems []LineItem `json:"line_items"` + Items []LineItem `json:"line_items"` OrderId string `json:"order_id"` |