Skip to content

Commit baf0768

Browse files
authored
fix(pkg-r): follow up to #149 -- DBI::SQL() errors given NULL (#158)
1 parent 1ff1733 commit baf0768

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg-r/R/querychat_module.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ mod_server <- function(
3232
current_query <- shiny::reactiveVal(NULL, label = "current_query")
3333
has_greeted <- shiny::reactiveVal(FALSE, label = "has_greeted")
3434
filtered_df <- shiny::reactive(label = "filtered_df", {
35-
data_source$execute_query(query = DBI::SQL(current_query()))
35+
data_source$execute_query(query = current_query())
3636
})
3737

3838
append_output <- function(...) {

0 commit comments

Comments
 (0)