Skip to content

Commit

Permalink
fix for eclinicalworks audience.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalogJ committed Feb 2, 2024
1 parent c1f4fb1 commit 473e7e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion definitions/models/lighthouse_endpoint_definition.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (def *LighthouseSourceDefinition) Populate(
def.Audience = def.Url
}

if def.PlatformType == pkg.PlatformTypeCareevolution || def.PlatformType == pkg.PlatformTypeAnthem {
if def.PlatformType == pkg.PlatformTypeCareevolution || def.PlatformType == pkg.PlatformTypeAnthem || def.PlatformType == pkg.PlatformTypeEclinicalworks {
//remove trailing slash for audience for CareEvolution & Anthem
def.Audience = strings.TrimSuffix(def.Audience, "/")
}
Expand Down

0 comments on commit 473e7e8

Please sign in to comment.