Skip to content

Commit 95558ff

Browse files
committed
reorder props for clarity in article
1 parent 41d412b commit 95558ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/jsreport/jsreport.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,12 @@ export class JsReportService implements OnModuleInit {
134134
reportName: 'ticket',
135135
},
136136
template: {
137+
engine: 'handlebars',
138+
recipe: 'chrome-pdf',
137139
content: fs.readFileSync(
138140
path.join(__dirname, 'examples/flight-ticket/template.html'),
139141
'utf-8',
140142
),
141-
recipe: 'chrome-pdf',
142-
engine: 'handlebars',
143143
chrome: {
144144
printBackground: true,
145145
marginTop: '30px',

0 commit comments

Comments
 (0)