Skip to content

Commit 39e395b

Browse files
committed
Add debugging statements to updateFormEntry (ref #278)
1 parent 43c9047 commit 39e395b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib/components/workflow/task_form_utils.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ export async function updateFormEntry(
1010
const requestData = {};
1111
requestData[groupName] = updatingWorkflowTaskProperties;
1212

13+
console.log(`In updateFormEntry, requestData is ${JSON.stringify(requestData)}`);
14+
1315
// Should make a PATCH request to the server to update the workflow task properties
1416
const response = await fetch(
1517
`/projects/${projectId}/workflows/${workflowId}/tasks/${workflowTaskId}`,
@@ -26,6 +28,7 @@ export async function updateFormEntry(
2628
console.log('Update form entry response successful');
2729
// Should return the updated form entry
2830
const updatedFormEntry = await response.json();
31+
console.log(`In updateFormEntry, updatedFormEntry is ${JSON.stringify(updatedFormEntry)}`);
2932
return updatedFormEntry;
3033
}
3134

0 commit comments

Comments
 (0)