This commit is contained in:
AdisakKanthawilang 2025-07-07 17:19:04 +07:00
parent 8c0c5f8040
commit 4f882c7b05

View file

@ -401,7 +401,7 @@ async function handler_org(msg: amqp.ConsumeMessage): Promise<boolean> {
"send-publish-org",
{
success: true,
message: `ระบบกำลังทำการแพร่โครงสร้างหน่วยงาน`,
message: `ระบบกำลังทำการเผยแพร่โครงสร้างหน่วยงาน`,
},
{ userId: user?.sub },
).catch(console.error);
@ -1454,10 +1454,10 @@ async function handler_org_draft(msg: amqp.ConsumeMessage): Promise<boolean> {
const child4Repository = AppDataSource.getRepository(OrgChild4);
if (user) {
sendWebSocket(
"send-publish-org",
"send-create-draft-org",
{
success: true,
message: `ระบบกำลังทำการสร้างโครงสร้างหน่วยงาน`,
message: `ระบบกำลังทำการสร้างแบบร่างโครงสร้างหน่วยงาน`,
},
{ userId: user?.sub },
).catch(console.error);