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

Fixed return of parent_id in Message wrapper #562

Merged
merged 1 commit into from
Dec 21, 2024

Conversation

Sergeydmitr
Copy link
Contributor

@Sergeydmitr Sergeydmitr commented Dec 20, 2024

Better return of parameter "parent_id" if it is not exist, before this fix the attribute returns an error in its body.

Before: 'message.parent_id = KeyError: 'parent_id'
After: 'message.parent_id = ''

Copy link

codeclimate bot commented Dec 20, 2024

Code Climate has analyzed commit 0e0a14b and detected 0 issues on this pull request.

View more on Code Climate.

@attzonko attzonko merged commit 7bdd2ad into attzonko:main Dec 21, 2024
8 checks passed
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