Skip to content

Commit d0b9f5e

Browse files
authored
fix: missing application_id in Entitlement.delete (#2458)
* fix: missing `application_id` in `Entitlement.delete` * add changelog entry
1 parent e7e0146 commit d0b9f5e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ These changes are available on the `master` branch, but have not yet been releas
5050
([#2446](https://github.com/Pycord-Development/pycord/pull/2446))
5151
- Fixed paginator to revert state if a page update callback fails.
5252
([#2448](https://github.com/Pycord-Development/pycord/pull/2448))
53+
- Fixed missing `application_id` in `Entitlement.delete`.
54+
([#2458](https://github.com/Pycord-Development/pycord/pull/2458))
5355

5456
### Changed
5557

discord/monetization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,4 +173,4 @@ async def delete(self) -> None:
173173
HTTPException
174174
Deleting the entitlement failed.
175175
"""
176-
await self._state.http.delete_test_entitlement(self.id)
176+
await self._state.http.delete_test_entitlement(self.application_id, self.id)

0 commit comments

Comments
 (0)