fix: remove rejected mediatype application/vnd.pgrst.object+json from response
This commit is contained in:
committed by
Steve Chavez
parent
fbc4d565ca
commit
973201a8d3
@@ -93,7 +93,6 @@ instance PgrstError ApiRequestError where
|
||||
status PGRSTParseError = HTTP.status500
|
||||
status MaxAffectedViolationError{} = HTTP.status400
|
||||
|
||||
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