Skip to content

Commit

Permalink
Add missing method to token response (#1696)
Browse files Browse the repository at this point in the history
Add missing method to token response
  • Loading branch information
fredplante committed Mar 11, 2024
1 parent 960f150 commit 9c87e5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -7,7 +7,7 @@ User-visible changes worth mentioning.

## main

- [#PR ID] Add your changelog here.
- [#1696] Add missing `#issued_token` method to `OAuth::TokenResponse`

## 5.6.9

Expand Down
2 changes: 2 additions & 0 deletions lib/doorkeeper/oauth/token_response.rb
Expand Up @@ -5,6 +5,8 @@ module OAuth
class TokenResponse
attr_reader :token

alias issued_token token

def initialize(token)
@token = token
end
Expand Down

0 comments on commit 9c87e5a

Please sign in to comment.