Skip to content

Commit

Permalink
fix: missing application_id in Entitlement.delete (#2458)
Browse files Browse the repository at this point in the history
* fix: missing `application_id` in `Entitlement.delete`

* add changelog entry
  • Loading branch information
yoggys committed May 19, 2024
1 parent e7e0146 commit d0b9f5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
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)

0 comments on commit d0b9f5e

Please sign in to comment.