diff options
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 { |