fix: remove rejected mediatype application/vnd.pgrst.object+json from response
This commit is contained in:
committed by
Wolfgang Walther
parent
977710f442
commit
67f6b1c7e8
@@ -92,7 +92,6 @@ instance PgrstError ApiRequestError where
|
||||
status SingularityError{} = HTTP.status406
|
||||
status PGRSTParseError = HTTP.status500
|
||||
|
||||
headers SingularityError{} = [MediaType.toContentType $ MTVndSingularJSON False]
|
||||
headers _ = mempty
|
||||
|
||||
toJsonPgrstError :: ErrorCode -> Text -> Maybe JSON.Value -> Maybe JSON.Value -> JSON.Value
|
||||
|
||||
Reference in New Issue
Block a user