You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- no need for an aggregate on HEAD https://github.com/PostgREST/postgrest/issues/2849
59
59
-- TODO: despite no aggregate, these are responding with a Content-Type, which is not correct.
60
60
(ActDb (ActRelationRead _ True), Just (_, mt)) ->Right (NoAgg, mt)
61
-
(ActDb (ActRoutine_ (InvReadTrue)), Just (_, mt)) ->Right (NoAgg, mt)
61
+
(ActDb (ActRoutine _ (InvReadTrue)), Just (_, mt)) ->Right (NoAgg, mt)
62
62
(_, Just (x, mt)) ->Right (x, mt)
63
63
where
64
64
firstAcceptedPick = listToMaybe $ mapMaybe matchMT accepts -- If there are multiple accepted media types, pick the first. This is usual in content negotiation.
0 commit comments