aboutsummaryrefslogtreecommitdiffstats
path: root/lulu.go
diff options
context:
space:
mode:
Diffstat (limited to 'lulu.go')
-rw-r--r--lulu.go4
1 files changed, 1 insertions, 3 deletions
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 {