fix(notify): fix for scac code when there is more characters after the split

This commit is contained in:
2025-06-05 01:26:17 -05:00
parent 788fc5f745
commit 6651f83da8

View File

@@ -23,7 +23,8 @@ export const scacCheck = async (data: any) => {
? `<SCAC>${data[0].remark ? `<SCAC>${data[0].remark
.split(",")[0] .split(",")[0]
.split(":")[1] .split(":")[1]
?.toUpperCase()}</SCAC>` ?.toUpperCase()
.slice(0, 4)}</SCAC>`
: `<SCAC/>` : `<SCAC/>`
} }
<Mode/> <Mode/>