fix: application/vnd.pgrst.array not accepted as a valid mediatype

This commit is contained in:
Taimoor Zaeem
2023-10-04 00:07:09 -03:00
committed by Steve Chavez
parent c820efb64a
commit 82ecf836c4
3 changed files with 15 additions and 0 deletions
+1
View File
@@ -140,6 +140,7 @@ decodeMediaType mt =
"application/vnd.pgrst.object+json":rest -> checkSingularNullStrip rest
"application/vnd.pgrst.object":rest -> checkSingularNullStrip rest
"application/vnd.pgrst.array+json":rest -> checkArrayNullStrip rest
"application/vnd.pgrst.array":rest -> checkArrayNullStrip rest
"*/*":_ -> MTAny
other:_ -> MTOther other
_ -> MTAny