This commit is contained in:
seb
2026-11-01 00:38:04 +01:00
parent 8827d6fc14
commit 5d6b31de15
5 changed files with 1 additions and 32 deletions

View File

@@ -7,7 +7,6 @@ import * as printerDb from '../../../db/printer.js';
import * as agentprinterDb from '../../../db/agentprinter.js';
import * as labeltemplateDb from '../../../db/labeltemplate.js';
import * as printerjobDb from '../../../db/printerjob.js';
import { emit } from '../../sse.js';
import { notifyAgentJob } from '../../agent/index.js';
import { pngToZpl } from '../../../services/zplService.js';
import { applyZplCopies } from '../zpljob.js';
@@ -481,7 +480,6 @@ export function register(app, basePath = '') {
notifyAgentJob(job.printeragentId, 'created', job);
}
emit('printerjob', { companyId, data: { job } });
return res.status(200).json({ success: true, printerjob: job });
}