Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bergalli committed Feb 17, 2024
1 parent d00316d commit 738bd55
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/logic/cloud_logic.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ trigger_trisk_api_computation <- function(trisk_run_params, api_endpoint) {
}

content <- httr::content(response, "text", encoding = "UTF-8")
run_id <- jsonlite::fromJSON(content)$trisk_run_id
# jsonlite::fromJSON has to be doubled bc of this content structure
run_id <- jsonlite::fromJSON(jsonlite::fromJSON(content)$trisk_run_id)

return(run_id)
}
Expand Down

0 comments on commit 738bd55

Please sign in to comment.