From 48f85453ffbe36f6c428a5d9a23b74122686b64c Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Wed, 13 May 2026 15:47:33 -0400 Subject: test marshal print and reprint requests --- lulu.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lulu.go') diff --git a/lulu.go b/lulu.go index 2268cd1..04e34ab 100644 --- a/lulu.go +++ b/lulu.go @@ -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 { -- cgit v1.2.3