From: Michael Raitza Date: Tue, 16 Jan 2024 17:22:08 +0000 (+0100) Subject: furnace.actions: Fix PUT, PATCH X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=commitdiff_plain;h=730364db30eee2f89231f6013600c1c6fda9e148 furnace.actions: Fix PUT, PATCH --- diff --git a/basis/furnace/actions/actions.factor b/basis/furnace/actions/actions.factor index 9e639fe7ae..f7f3cb59d6 100644 --- a/basis/furnace/actions/actions.factor +++ b/basis/furnace/actions/actions.factor @@ -75,7 +75,7 @@ CONSTANT: revalidate-url-key "__u" : handle-put ( action -- response ) '[ - _ dup submit>> [ + _ dup replace>> [ [ validate>> call( -- ) ] [ authorize>> call( -- ) ] [ replace>> call( -- response ) ] @@ -85,7 +85,7 @@ CONSTANT: revalidate-url-key "__u" : handle-patch ( action -- response ) '[ - _ dup submit>> [ + _ dup update>> [ [ validate>> call( -- ) ] [ authorize>> call( -- ) ] [ update>> call( -- response ) ]