Skip to content

Commit badb7d4

Browse files
authored
Merge pull request #20 from samagra-comms/main
Comparison Operator
2 parents 51b2ed3 + c96a3d9 commit badb7d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ export class OutboundService {
1515
adapterCredentials: credentials
1616
});
1717
const adapterResponse = await convertXMessageToMsg(orchestratorRequest);
18-
// if (adapterResponse.messageState = MessageState.NOT_SENT) {
19-
// throw new Error("Message Not Sent")
20-
// }
18+
if (adapterResponse.messageState == MessageState.NOT_SENT) {
19+
throw new Error("Message Not Sent")
20+
}
2121
}
2222
}

0 commit comments

Comments
 (0)