fix: application/vnd.pgrst.array not accepted as a valid mediatype
This commit is contained in:
committed by
Steve Chavez
parent
c820efb64a
commit
82ecf836c4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user