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
|
||||
toHeader = toHeader . show
|
||||
toUrlPiece _ = error "ToHttpApiData.toUrlPiece not implemented for TestHeader"
|
||||
toQueryParam _ = error "ToHttpApiData.toQueryParam not implemented for TestHeader"
|
||||
toUrlPiece = toUrlPiece . show
|
||||
toQueryParam = toQueryParam . show
|
||||
|
||||
|
||||
instance Arbitrary TestHeader where
|
||||
|
|
Loading…
Reference in a new issue