fix: remove rejected mediatype application/vnd.pgrst.object+json from response

This commit is contained in:
Taimoor Zaeem
2024-05-09 18:56:47 +02:00
committed by Wolfgang Walther
parent 977710f442
commit 67f6b1c7e8
5 changed files with 35 additions and 22 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ spec =
`shouldRespondWith`
[json|{"details":"The result contains 6 rows","message":"JSON object requested, multiple (or no) rows returned","code":"PGRST116","hint":null}|]
{ matchStatus = 406
, matchHeaders = [matchContentTypeSingular]
, matchHeaders = [matchContentTypeJson]
}
context "strip nulls from response even if explicitly selected" $ do