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: missing application_id in Entitlement.delete #2458

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ These changes are available on the `master` branch, but have not yet been releas
([#2446](https://github.com/Pycord-Development/pycord/pull/2446))
- Fixed paginator to revert state if a page update callback fails.
([#2448](https://github.com/Pycord-Development/pycord/pull/2448))
- Fixed missing `application_id` in `Entitlement.delete`.
([#2458](https://github.com/Pycord-Development/pycord/pull/2458))

### Changed

Expand Down
2 changes: 1 addition & 1 deletion discord/monetization.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,4 +173,4 @@ async def delete(self) -> None:
HTTPException
Deleting the entitlement failed.
"""
await self._state.http.delete_test_entitlement(self.id)
await self._state.http.delete_test_entitlement(self.application_id, self.id)
Loading