Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/improve_assign_peptide_type_243'…
Browse files Browse the repository at this point in the history
… into improve_assign_peptide_type_243
  • Loading branch information
jpquast committed Sep 29, 2024
2 parents 86ac58c + 6580c95 commit 25962a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/try_query.R
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ try_query <-
} else if (type == "text/csv" || type == "txt/csv") {
result <- readr::read_csv(text_content, ...)
} else if (type == "application/json") {
result <- jsonlite::fromJSON(text_content, ...) # Using jsonlite for JSON parsing
result <- jsonlite::fromJSON(text_content, ...) # Using jsonlite for JSON parsing
} else if (type == "text") {
result <- text_content # Return raw text as-is
result <- text_content # Return raw text as-is
} else {
stop("Unsupported content type: ", type)
}
Expand Down

0 comments on commit 25962a8

Please sign in to comment.