We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb02aca commit b2106e8Copy full SHA for b2106e8
src/aleph/sdk/client/http.py
@@ -516,7 +516,9 @@ 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(
520
+ f"/api/v0/messages/{item_hash}/status"
521
+ ) as resp:
522
if resp.status == HTTPNotFound.status_code:
523
raise MessageNotFoundError(f"No such hash {item_hash}")
524
resp.raise_for_status()
0 commit comments