Remove error calls and replace with working implementations of ToHttpApiData
This commit is contained in:
parent
dbab31508e
commit
3e704362c3
1 changed files with 2 additions and 2 deletions
|
@ -40,8 +40,8 @@ data TestHeader
|
||||||
|
|
||||||
instance ToHttpApiData TestHeader where
|
instance ToHttpApiData TestHeader where
|
||||||
toHeader = toHeader . show
|
toHeader = toHeader . show
|
||||||
toUrlPiece _ = error "ToHttpApiData.toUrlPiece not implemented for TestHeader"
|
toUrlPiece = toUrlPiece . show
|
||||||
toQueryParam _ = error "ToHttpApiData.toQueryParam not implemented for TestHeader"
|
toQueryParam = toQueryParam . show
|
||||||
|
|
||||||
|
|
||||||
instance Arbitrary TestHeader where
|
instance Arbitrary TestHeader where
|
||||||
|
|
Loading…
Reference in a new issue