summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--HTTP.hs5
1 files changed, 0 insertions, 5 deletions
diff --git a/HTTP.hs b/HTTP.hs
index 10b0d47..f1e9e39 100644
--- a/HTTP.hs
+++ b/HTTP.hs
@@ -35,9 +35,6 @@ type HttpAPI =
:<|> "keysafe" :> V1 :> "stats" :> "countobjects" :> POWParam
:> Get '[JSON] (ProofOfWorkRequirement CountResult)
-newtype APIVersion = APIVersion Int
- deriving (Generic)
-
type V1 = "v1"
newtype Motd = Motd Text
@@ -57,8 +54,6 @@ type POWParam = QueryParam "proofofwork" ProofOfWork
type ObjectIdent = Capture "ident" StorableObjectIdent
-instance ToJSON APIVersion
-instance FromJSON APIVersion
instance ToJSON Motd
instance FromJSON Motd
instance ToJSON t => ToJSON (ProofOfWorkRequirement t)