Skip to content

Commit

Permalink
update github upload url
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed Jan 6, 2016
1 parent b696030 commit 56e3c87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/examples/upload-github.R
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ for (i in x$assets) {
for (f in FILES) {
message('uploading ', f)
POST(
sub('{?name}', '', r_upload, fixed = TRUE),
sub('{?name,label}', '', r_upload, fixed = TRUE),
query = list(name = basename(f)), body = upload_file(f, mime::guess_type(f))
)
Sys.sleep(1)
Expand Down

0 comments on commit 56e3c87

Please sign in to comment.