We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb02aca commit 74aca22Copy full SHA for 74aca22
src/aleph/sdk/client/http.py
@@ -516,7 +516,7 @@ async def get_program_price(self, item_hash: str) -> PriceResponse:
516
517
async def get_message_status(self, item_hash: str) -> MessageStatus:
518
"""return Status of a message"""
519
- async with self.http_session.get(f"/api/v0/messages/{item_hash}") as resp:
+ async with self.http_session.get(f"/api/v0/messages/{item_hash}/status") as resp:
520
if resp.status == HTTPNotFound.status_code:
521
raise MessageNotFoundError(f"No such hash {item_hash}")
522
resp.raise_for_status()
0 commit comments