Skip to content

Commit 3dd182d

Browse files
authored
Merge pull request #20 from openhealthalgorithms/fixes-bp-and-errors
Fixes #19 bp issue and updated error format
2 parents 8f9b6bc + 332d1fb commit 3dd182d

5 files changed

Lines changed: 273 additions & 80 deletions

File tree

actions/algorithm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ func AlgorithmHandler(c echo.Context) error {
105105
output.Assessments = hs
106106
output.Goals = hg
107107
output.Referrals = hr
108-
output.Errors = make([]string, 0)
108+
output.Errors = make([]models.OutputError, 0)
109109
output.Errors = append(output.Errors, hrs...)
110110
output.Meta.Debug = false
111111
output.Meta.CarePlan = false

0 commit comments

Comments
 (0)