fix: update custom fields to fix "Error parsing request body into JSON"

The `customFields` param expects an array of objects where each object
has 2 properties: id and value. This fix ensures the current page is
passed in the `value` property.
This commit is contained in:
Steven Nguyen committed 2024-10-11 15:14:22 -07:00
1 parent f0629b8573
commit f6c4b9b660
1 file changed
+1 -1
+1 -1
View File
@@ -133,7 +133,7 @@ function createFeedbackStore() {
// billingPlan,
firstname: name || 'Unknown',
customFields: [
{ id: '47364', currentPage },
{ id: '47364', value: currentPage },
...(value ? [{ id: '40655', value }] : [])
],
metaFields: {