diff --git a/Gemfile.lock b/Gemfile.lock index c941155..4e1697f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -259,6 +259,7 @@ GEM PLATFORMS arm64-darwin-21 arm64-darwin-22 + arm64-darwin-23 DEPENDENCIES awesome_print diff --git a/README.md b/README.md index 1bb43f0..ad10de3 100644 --- a/README.md +++ b/README.md @@ -117,8 +117,8 @@ Devise.setup do |config| # Before callbacks api.before_sign_in = ->(_params, _request, _resource_class) { } api.before_sign_up = ->(_params, _request, _resource_class) { } - api.before_refresh = ->(_params, _request, _resource_class) { } - api.before_revoke = ->(_params, _request, _resource_class) { } + api.before_refresh = ->(_token_model, _request) { } + api.before_revoke = ->(_token_model, _request) { } end end ```