ws test 2

This commit is contained in:
AdisakKanthawilang 2025-03-07 12:43:55 +07:00
parent 3344826fb9
commit 6475b96f9f

View file

@ -78,8 +78,6 @@ import { ProfileDuty } from "../entities/ProfileDuty";
import { ProfileAssessment } from "../entities/ProfileAssessment"; import { ProfileAssessment } from "../entities/ProfileAssessment";
import { ProfileAbility } from "../entities/ProfileAbility"; import { ProfileAbility } from "../entities/ProfileAbility";
import { sendWebSocket } from "../services/webSocket";
@Route("api/v1/org/profile") @Route("api/v1/org/profile")
@Tags("Profile") @Tags("Profile")
@Security("bearerAuth") @Security("bearerAuth")
@ -1646,15 +1644,12 @@ export class ProfileController extends Controller {
profileAbility, profileAbility,
otherIncome otherIncome
}; };
const metaData = { template: "new_kk1",
return new HttpSuccess({
template: "new_kk1",
reportName: "docx-report", reportName: "docx-report",
data: data}; data: data,
sendWebSocket(metaData) });
// return new HttpSuccess({
// template: "new_kk1",
// reportName: "docx-report",
// data: data,
// });
} }
/** /**