Skip to content

Commit

Permalink
Use override flag when writing to disk. (#16)
Browse files Browse the repository at this point in the history
* Use override flag when writing to disk.

* Update version

* Fix typo on override
  • Loading branch information
ddl-gabrielhaim authored Apr 18, 2023
1 parent a0dabb8 commit 44c028a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: DominoDataR
Title: Domino Data R API
Version: 0.2.1
Version: 0.2.2
Authors@R:
person("Gabriel", "Haim", , "[email protected]", role = c("aut", "cre"))
Description: Domino Data API for interacting with Data features (Data Sources).
Expand Down
2 changes: 1 addition & 1 deletion R/objectstore.R
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ save_object <- function(client,
"GET",
url,
datasource_type = datasource$datasource_type,
write_disk = httr::write_disk(file),
write_disk = httr::write_disk(file, overwrite = TRUE),
)
file
}
Expand Down

0 comments on commit 44c028a

Please sign in to comment.