Skip to content

Commit 91eafea

Browse files
committed
use a working key before xfun 0.51 is released
1 parent 80e37c0 commit 91eafea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

R/utils-upload.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@
77
#' @export
88
#' @keywords internal
99
imgur_upload = function(file, key = xfun::env_option('knitr.imgur.key'), ...) {
10+
# TODO: remove this after xfun 0.51
11+
if (is.null(key)) key = paste(rev(strsplit('01a236c49e09142','')[[1]]), collapse = '')
1012
xfun::upload_imgur(file, key, ..., include_xml = TRUE)
1113
}

0 commit comments

Comments
 (0)