Skip to content

Commit

Permalink
Update TA3 to use new configured model endpoints #3759 (#179)
Browse files Browse the repository at this point in the history
Co-authored-by: Cole Blanchard <[email protected]>
  • Loading branch information
dvince2 and Cole Blanchard authored Jun 21, 2024
1 parent d08598e commit d8d06f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SimulationService.jl
Original file line number Diff line number Diff line change
Expand Up @@ -453,9 +453,9 @@ function get_model(id::String)
@assert ENABLE_TDS[]
@info "get_model($(repr(id)))"

tds_url = "$(TDS_URL[])/model-configurations-legacy/$id"
tds_url = "$(TDS_URL[])/model-configurations/as-configured-model/$id"

JSON3.read(HTTP.get(tds_url, [basic_auth_header[], json_content_header, snake_case_header]).body).configuration
JSON3.read(HTTP.get(tds_url, [basic_auth_header[], json_content_header, snake_case_header]).body)
end

function get_dataset(obj::JSON3.Object)
Expand Down

0 comments on commit d8d06f8

Please sign in to comment.