Skip to content

Commit

Permalink
No need for jsonlite::unbox() now
Browse files Browse the repository at this point in the history
Our json writer always auto-unboxes.
  • Loading branch information
gaborcsardi committed Nov 23, 2023
1 parent c70c895 commit 25b7948
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/advanced_search.R
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ advanced_search <- function(..., json = NULL, format = c("short", "long"),
qstr <- tojson$write_str(list(
query = list(
query_string = list(
query = jsonlite::unbox(paste0(q, collapse = " AND ")),
default_field = jsonlite::unbox("*")
query = paste0(q, collapse = " AND "),
default_field = "*"
)
)
))
Expand Down

0 comments on commit 25b7948

Please sign in to comment.