Skip to content
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

fix: got error response when create token #152

Merged
merged 1 commit into from
Aug 8, 2023
Merged

fix: got error response when create token #152

merged 1 commit into from
Aug 8, 2023

Conversation

ronazst
Copy link
Contributor

@ronazst ronazst commented Aug 7, 2023

The empty redirect_url shown in request will cause error when user authorization url without redirect_url(it's valid case).

Also fix parse create token error response to empty error object.

Doc for reference: https://developers.notion.com/reference/create-a-token

The empty redirect_url shown in request will cause error when user
authorization url without redirect_url(it's valid case).

Also fix parse create token error response to empty error object.
Copy link
Owner

@jomei jomei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot!

@jomei jomei merged commit a86cf10 into jomei:main Aug 8, 2023
1 check passed
@ronazst
Copy link
Contributor Author

ronazst commented Aug 8, 2023

Hi @jomei , do you mind create a new release for this change?

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.

None yet

2 participants