[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/develop] Clarify the specified moat error if there are no bridges.
commit b0898951e8c1b9a4b3d615e9d9422d5c4ce67576
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date: Wed Dec 20 21:36:18 2017 +0000
Clarify the specified moat error if there are no bridges.
---
README.rst | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/README.rst b/README.rst
index 8481382..7e4f6d1 100644
--- a/README.rst
+++ b/README.rst
@@ -556,13 +556,14 @@ server is unable to distribute the requested Bridges, the server responds ``200
OK`` with the following JSON::
{
- "error": {
- "id": "1",
+ "errors": [{
+ "id": "6",
+ "type": "moat-bridges",
+ "version": "0.1.0",
"code": "404",
"status": "Not Found",
- "title": "Could not fetch the type of bridges you requested",
"detail": "DETAILS",
- }
+ }]
}
where:
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits