Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
denskh committed Jul 31, 2024
1 parent 023c535 commit 3eb33bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions R/jwt.R
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jwt_encode_sig <- function(claim, key, size = 256, header = list()) {
#' @export
#' @rdname jwt_claim
#' @param secret String or raw vector with a secret passphrase.
jwt_encode_hmac <- function(claim, secret, size = size, header = list()) {
jwt_encode_hmac <- function(claim, secret, size = 256, header = list()) {
check_installed("jose")
jose::jwt_encode_sig(claim, secret, size = size, header = header)
jose::jwt_encode_hmac(claim, secret, size = size, header = header)

Check warning on line 70 in R/jwt.R

View check run for this annotation

Codecov / codecov/patch

R/jwt.R#L70

Added line #L70 was not covered by tests
}
2 changes: 1 addition & 1 deletion man/jwt_claim.Rd

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

0 comments on commit 3eb33bd

Please sign in to comment.