diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2026-05-13 15:47:33 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2026-05-13 15:47:33 -0400 |
| commit | 48f85453ffbe36f6c428a5d9a23b74122686b64c (patch) | |
| tree | 13720a581029307fd9303f025d9cd8c1012261b3 /lulu.go | |
| parent | 66ef9438a3489bf8a0b80bb44e320c85261a6658 (diff) | |
| download | lulu-48f85453ffbe36f6c428a5d9a23b74122686b64c.zip | |
test marshal print and reprint requests
Diffstat (limited to 'lulu.go')
| -rw-r--r-- | lulu.go | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -241,8 +241,7 @@ func (c *Client) Print(contact EmailAddress, externalId string, productionDelay if err := verifyProductionDelay(productionDelay); err != nil { return PrintJob{}, pkgErr(err) } - - req := printReq{ + req := printReq[Printable]{ Contact: contact, ExternalId: externalId, LineItems: items, @@ -250,7 +249,6 @@ func (c *Client) Print(contact EmailAddress, externalId string, productionDelay ShipAddr: addr, ShipOpt: shipOpt, } - var job PrintJob err := c.postDecode(printJobsPath, req, http.StatusCreated, &job) if err != nil { |