oops
parent
1185872bc7
commit
c181a26011
2
index.js
2
index.js
|
@ -104,7 +104,7 @@ app.get('/printers/:name/jobs', (req, res) => {
|
|||
// --- Print API ---
|
||||
|
||||
app.post('/print', bodyParser.raw({ type: '*/*', limit: MAX_SIZE_MB * 1_000_000 }), (req, res) => {
|
||||
const { body, query } = req
|
||||
const { body, query, headers } = req
|
||||
console.log("Received print job: ", { body, query })
|
||||
|
||||
// validate query params
|
||||
|
|
Loading…
Reference in New Issue