Skip to content

docs: correct rotate token example #2837

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 5, 2024
Merged

docs: correct rotate token example #2837

merged 1 commit into from
Apr 5, 2024

Conversation

JohnVillalovos
Copy link
Member

Rotate token returns a dict. Change example to print the entire dict.

Closes: #2836

Changes

Documentation and testing

Please consider whether this PR needs documentation and tests. This is not required, but highly appreciated:

Rotate token returns a dict. Change example to print the entire dict.

Closes: #2836
@JohnVillalovos JohnVillalovos requested a review from nejch April 5, 2024 15:23
@nejch
Copy link
Member

nejch commented Apr 5, 2024

Thanks John!

@nejch nejch enabled auto-merge (rebase) April 5, 2024 16:21
@nejch nejch merged commit c53e695 into main Apr 5, 2024
@nejch nejch deleted the jlvillal/token_docs branch April 5, 2024 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

personal_access_tokens.rotate(<ID>) 'dict' object has no attribute 'token'
2 participants