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

delete/favourite/unfavouritePost return Post instead of Post? #125

Merged
merged 1 commit into from
Mar 17, 2023
Merged

delete/favourite/unfavouritePost return Post instead of Post? #125

merged 1 commit into from
Mar 17, 2023

Conversation

technicat
Copy link
Contributor

Code should never return nil (either returns Post or throws) so make it consistent with the other functions like boost.

https://github.com/TootSDK/TootSDK/discussions/124

Code should never return nil (either returns Post or throws) so make it consistent with the other functions like boost.

https://github.com/TootSDK/TootSDK/discussions/124
Copy link
Contributor

@kkostov kkostov left a comment

Choose a reason for hiding this comment

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

Nice! Thank you! @technicat

@kkostov kkostov merged commit 22c70ab into TootSDK:main Mar 17, 2023
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