Skip to content

Fix resource endpoints checking for 'payload' in response - #8

Open
Skipants wants to merge 1 commit into
chatwoot:mainfrom
Skipants:fix-broken-inbox-members-resource
Open

Fix resource endpoints checking for 'payload' in response#8
Skipants wants to merge 1 commit into
chatwoot:mainfrom
Skipants:fix-broken-inbox-members-resource

Conversation

@Skipants

Copy link
Copy Markdown

HTTPClient.get/patch/etc. already calls _unwrap_response on the JSON responses from the Chatwoot API, causing the methods in chatwoot/resources/ to have redundant checks at best and be broken at worst.

AI Disclosure: Claude found and fixed this issue. They were audited manually by me and I stripped a lot of the crappy Claude comments it tried to add.

HTTPClient.get/patch/etc. already calls _unwrap_response on the JSON responses from the Chatwoot API, causing the methods in chatwoot/resources/ to have redundant checks at best and be broken at worst.

AI Disclosure: Claude found and fixed this issue. They were audited manually by me and I stripped a lot of the crappy Claude comments it tried to add.
@Skipants
Skipants force-pushed the fix-broken-inbox-members-resource branch from bf3f1bb to b8b5fc1 Compare July 30, 2026 21:50
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.

1 participant