From b21fbc3de884df8f47b0aefb702490a77582f0e1 Mon Sep 17 00:00:00 2001 From: jasquat Date: Fri, 16 Dec 2022 16:08:04 -0500 Subject: [PATCH] terminating a process instance is a POST w/ burnettk --- spiffworkflow-frontend/src/routes/ProcessInstanceShow.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spiffworkflow-frontend/src/routes/ProcessInstanceShow.tsx b/spiffworkflow-frontend/src/routes/ProcessInstanceShow.tsx index 1adb585b..88e5e3bb 100644 --- a/spiffworkflow-frontend/src/routes/ProcessInstanceShow.tsx +++ b/spiffworkflow-frontend/src/routes/ProcessInstanceShow.tsx @@ -74,9 +74,9 @@ export default function ProcessInstanceShow() { [targetUris.processInstanceActionPath]: ['DELETE'], [targetUris.processInstanceLogListPath]: ['GET'], [targetUris.processModelShowPath]: ['PUT'], - [`${targetUris.processInstanceActionPath}/suspend`]: ['PUT'], - [`${targetUris.processInstanceActionPath}/terminate`]: ['PUT'], - [`${targetUris.processInstanceActionPath}/resume`]: ['PUT'], + [`${targetUris.processInstanceActionPath}/suspend`]: ['POST'], + [`${targetUris.processInstanceActionPath}/terminate`]: ['POST'], + [`${targetUris.processInstanceActionPath}/resume`]: ['POST'], }; const { ability, permissionsLoaded } = usePermissionFetcher( permissionRequestData