@peopl-health/nexus 1.6.1 → 1.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -556,7 +556,7 @@ class TwilioProvider extends MessageProvider {
556
556
  const content = await this.getTemplate(contentSid);
557
557
  try {
558
558
  const links = (content && content.links) || {};
559
- let approvalsUrl = links.approvals || links.approvalRequests || links.approval_requests;
559
+ let approvalsUrl = links.approval_create || links.approvals || links.approvalRequests || links.approval_requests;
560
560
  if (!approvalsUrl) {
561
561
  return {
562
562
  success: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peopl-health/nexus",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "description": "Core messaging and assistant library for WhatsApp communication platforms",
5
5
  "keywords": [
6
6
  "whatsapp",