We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
owner
Found in bazbt3/PigPen#48.
A channel might not have an owner included, e.g., if the user deleted their account. But the library tries to map a user object no matter what. https://github.com/pnut-api/PNUTpy/blob/master/pnutpy/models.py#L295
Docs ref to channel.owner: https://github.com/pnut-api/api-spec/blob/3187b456029e8afe43388b3d963ce1b03399e71d/resources/channels/index.md
This is an embedded User object. Note: In certain cases (e.g., when a user account has been deleted), this key may be omitted.
The text was updated successfully, but these errors were encountered:
Skip the channel owner when it's not present in response data
0fa6bd2
When a user account is deleted, the channels which they owned may still exist without a user object associated as the owner. Issue pnut-api#17
No branches or pull requests
Found in bazbt3/PigPen#48.
A channel might not have an
owner
included, e.g., if the user deleted their account. But the library tries to map a user object no matter what. https://github.com/pnut-api/PNUTpy/blob/master/pnutpy/models.py#L295Docs ref to channel.owner: https://github.com/pnut-api/api-spec/blob/3187b456029e8afe43388b3d963ce1b03399e71d/resources/channels/index.md
The text was updated successfully, but these errors were encountered: