From aa2f0287b1c29b473d63d3895d827a1e8ce86393 Mon Sep 17 00:00:00 2001 From: Ruslan Talpa Date: Fri, 20 Nov 2015 15:50:53 +0200 Subject: [PATCH] Fix RPC failing tests --- src/PostgREST/RequestIntent.hs | 1 + 1 file changed, 1 insertion(+) 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 ->