From 4057ce9300033ae4bb49470eedd93e9276130220 Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Sun, 16 Jun 2019 15:05:59 +0200
Subject: [PATCH] [mod] Remove not used ERROR_SCHEMA which is a duplication of
 it in api/client.py

---
 duniterpy/api/endpoint.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/duniterpy/api/endpoint.py b/duniterpy/api/endpoint.py
index a3a37c30..50833ab5 100644
--- a/duniterpy/api/endpoint.py
+++ b/duniterpy/api/endpoint.py
@@ -130,12 +130,6 @@ class UnknownEndpoint(Endpoint):
         return hash((self.api, self.properties))
 
 
-ERROR_SCHEMA = {
-    "type": "object",
-    "properties": {"ucode": {"type": "number"}, "message": {"type": "string"}},
-    "required": ["ucode", "message"],
-}
-
 # required to type hint cls in classmethod
 BMAEndpointType = TypeVar("BMAEndpointType", bound="BMAEndpoint")
 
-- 
GitLab