Merge branch 'develop' into develop-Bright

This commit is contained in:
Bright 2025-07-09 09:45:30 +07:00
commit ca5ab47ab0

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);