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

This commit is contained in:
Taimoor Zaeem
2023-08-11 12:41:04 -05:00
committed by Steve Chavez
parent c820efb64a
commit 87d6a0d0fe
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