Answer stability round 2: 1 🔴, 0 🟡 (0 misread); read an empty answer to a new link as success, and skip a Fix Version whose name is no text
This commit is contained in:
@@ -54,7 +54,7 @@ def id_of(answer: object, request: str) -> str | Failure:
|
||||
|
||||
|
||||
def http_json(method: str, url: str, token: str, body: object) -> object:
|
||||
"""The JSON that url answers to the bot's request, or a Failure saying why there is none."""
|
||||
"""The JSON that url answers to the bot's request, None where the answer has no body, or a Failure saying why there is none."""
|
||||
return json_request.http_json(method, url, f"Bearer {token}", body, TIMEOUT, error_message)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user