Skip to content

Commit

Permalink
[docs] Fix documentation for oauth_applications
Browse files Browse the repository at this point in the history
  • Loading branch information
nickfloyd authored Dec 12, 2023
2 parents f8ffe5c + 1fa5a0a commit bdb9780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/octokit/client/oauth_applications.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def reset_token(access_token, options = {})
#
# @example
# client = Octokit::Client.new(:client_id => 'abcdefg12345', :client_secret => 'secret')
# client.delete_token('deadbeef1234567890deadbeef987654321')
# client.delete_app_token('deadbeef1234567890deadbeef987654321')
def delete_app_token(access_token, options = {})
options[:access_token] = access_token

Expand Down

0 comments on commit bdb9780

Please sign in to comment.