This commit is contained in:
AdisakKanthawilang 2025-03-07 16:29:28 +07:00
parent e976e51860
commit 1ea3392a8f
3 changed files with 55 additions and 56 deletions

View file

@ -32,6 +32,7 @@ import { viewRegistryOfficer } from "../entities/view/viewRegistryOfficer";
import { viewRegistryEmployee } from "../entities/view/viewRegistryEmployee";
import { EmployeeTempPosMaster } from "../entities/EmployeeTempPosMaster";
import { sendWebSocket } from "../services/webSocket";
// import { sendWebSocket } from "../services/webSocket";
@Route("api/v1/org/report")
@Tags("Report")
@ -3541,7 +3542,7 @@ export class ReportController extends Controller {
const metaData = { template: "report2", reportName: "report2", data: { data } };
sendWebSocket(metaData)
// return new HttpSuccess({ template: "report2", reportName: "report2", data: { data } });
return new HttpSuccess({ template: "report2", reportName: "report2", data: { data } });
}
/**