diff --git a/src/PostgREST/RequestIntent.hs b/src/PostgREST/RequestIntent.hs index 03f06b47a..f1b369702 100644 --- a/src/PostgREST/RequestIntent.hs +++ b/src/PostgREST/RequestIntent.hs @@ -92,6 +92,7 @@ userIntent schema req reqBody = reqPayload = case action of ActionCreate -> Just payload ActionUpdate -> Just payload + ActionInvoke -> Just payload _ -> Nothing where payload = case pickContentType (lookupHeader "content-type") of Right ApplicationJSON ->