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: don't crash when item's Author is nil #11

Merged
merged 1 commit into from
May 29, 2022

Conversation

muesli
Copy link
Contributor

@muesli muesli commented May 28, 2022

Creating the item's body crashed when accessing items[i].Author without checking whether it's nil.

@sheepla
Copy link
Owner

sheepla commented May 29, 2022

Oh, I overlooked the possibility that the items[i].Author would be nil. thank you!✨

@sheepla sheepla merged commit 51fdf03 into sheepla:master May 29, 2022
@muesli muesli deleted the authorless branch September 22, 2022 04:53
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