Use the correct URL for generating pdfs
This commit is contained in:
parent
273e2b7b32
commit
09fe773987
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ func ComplianceSend(ctx context.Context, txn bob.Executor, row_id int32) error {
|
|||
return fmt.Errorf("organization %d has no Lob Address ID", organization.ID)
|
||||
}
|
||||
|
||||
path := fmt.Sprintf("/mailer/mode-3/%s", compliance_req.PublicID)
|
||||
path := fmt.Sprintf("/mailer/mode-3/%s/preview", compliance_req.PublicID)
|
||||
content, err := pdf.GeneratePDF(ctx, path)
|
||||
if err != nil {
|
||||
return fmt.Errorf("generate pdf: %w", err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue