Skip to content

Fix Error when Author is Null #146

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 6 commits into from
Jun 24, 2025
Merged

Fix Error when Author is Null #146

merged 6 commits into from
Jun 24, 2025

Conversation

chrisjtang
Copy link
Contributor

Description

Added some safeguards and default values if the Post's author is null.

Motivation and Context

#140

How Has This Been Tested?

Added unit test for comment_data_from_post function

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.
  • All new and existing tests passed.

@chrisjtang chrisjtang self-assigned this Jun 23, 2025
@chrisjtang chrisjtang requested a review from tail June 23, 2025 21:36
@chrisjtang chrisjtang merged commit fdf413b into master Jun 24, 2025
159 of 240 checks passed
@chrisjtang chrisjtang deleted the issue-140 branch June 24, 2025 18:38
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.

2 participants