Skip to content

Commit

Permalink
Whoops, hard coded path. Also forgot to update documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverbock committed Feb 14, 2023
1 parent 651e7e4 commit e85206c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
2 changes: 1 addition & 1 deletion R/Factbase.R
Expand Up @@ -105,7 +105,7 @@ post_to_factbase <- function(body, token, save_failed_json_to) {
r <- POST(url, body = body, encode = "json", add_headers(`x-facttoken` = token), timeout(3600))
if (r$status_code != 200) {
if (!is.null(save_failed_json_to)) {
connection <- QFileOpen("problem-factbase-upload.json", "w",
connection <- QFileOpen(save_failed_json_to, "w",
mime.type="application/json")
writeLines(body, connection)
close(connection)
Expand Down
8 changes: 6 additions & 2 deletions man/UploadMetricToFactbase.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 10 additions & 2 deletions man/UploadRelationshipToFactbase.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e85206c

Please sign in to comment.