Skip to content

Commit 8d19441

Browse files
Copilotgadenbuie
andauthored
fix(pkg-r): Correctly execute query in Shiny app (#141)
* Fix execute_query method call to use R6 syntax Co-authored-by: gadenbuie <5420529+gadenbuie@users.noreply.github.com>
1 parent 4ef8a28 commit 8d19441

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("", label = "current_query")
3333
has_greeted <- shiny::reactiveVal(FALSE, label = "has_greeted")
3434
filtered_df <- shiny::reactive(label = "filtered_df", {
35-
execute_query(data_source, query = DBI::SQL(current_query()))
35+
data_source$execute_query(query = DBI::SQL(current_query()))
3636
})
3737

3838
append_output <- function(...) {

0 commit comments

Comments
 (0)