main
radex 2024-02-02 12:59:22 +01:00
parent 1185872bc7
commit c181a26011
Signed by: radex
SSH Key Fingerprint: SHA256:hvqRXAGG1h89yqnS+cyFTLKQbzjWD4uXIqw7Y+0ws30
1 changed files with 1 additions and 1 deletions

View File

@ -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