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