Skip to content

Commit 87e6608

Browse files
authored
Merge pull request #12 from samagra-comms/development
Development
2 parents d90e856 + aac565b commit 87e6608

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/message/services/outbound/outbound.service.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ export class OutboundService {
3131
];
3232
orchestratorRequest.payload.stylingTag = StylingTag.QUICKREPLYBTN;
3333

34+
if ("text" in orchestratorRequest.payload) {
35+
orchestratorRequest.payload.text = orchestratorRequest.payload.text.substring(0,1023)
36+
}
37+
3438
await convertXMessageToMsg(orchestratorRequest);
3539
}
3640
}

0 commit comments

Comments
 (0)