Skip to content

Commit

Permalink
Use nested string in R server example
Browse files Browse the repository at this point in the history
  • Loading branch information
sverhoeven committed Sep 24, 2024
1 parent d7faea2 commit 5c8ca36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion r-server/R/server.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ get_component_name <- function(request, response, keys, ...) {
response$status <- 200L
response$type <- 'application/json'
# TODO call model method
response$body <- "Some model name"
response$body <- list(name = "Some model name")
response$format(json = format_json())
return(FALSE)
}
Expand Down

0 comments on commit 5c8ca36

Please sign in to comment.