Skip to content

Commit

Permalink
Fix form defs URL
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenhand committed Dec 16, 2024
1 parent 0546b75 commit 93b1dde
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,15 @@ export const handleEvent = async (
definitionVersion,
hrm_base_url: hrmBaseUrl,
hrm_api_version: hrmApiVersion,
form_definitions_version_url: formDefinitionsVersionUrl,
form_definitions_version_url: configFormDefinitionsVersionUrl,
assets_bucket_url: assetsBucketUrl,
helpline_code: helplineCode,
channelType,
customChannelType,
feature_flags: { enable_backend_hrm_contact_creation: enableBackendHrmContactCreation },
} = serviceConfig.attributes;
const formDefinitionsVersionUrl =
configFormDefinitionsVersionUrl || `${assetsBucketUrl}/form-definitions/${helplineCode}/v1`;
if (!enableBackendHrmContactCreation) {
console.debug(
`enable_backend_hrm_contact_creation is not set, the contact associated with task ${taskSid} will be created from Flex.`,
Expand Down

0 comments on commit 93b1dde

Please sign in to comment.