Skip to content

Commit

Permalink
Bug: Resolve sending [object Object] on POST.
Browse files Browse the repository at this point in the history
  • Loading branch information
erinesullivan committed Jul 26, 2024
1 parent eace972 commit 3c52d73
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/modules/getthis/components/GetThisForm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,12 @@ const GetThisForm = ({ form }) => {
setResponse(res);
};

Pride.requestRecord(datastoreUid, recordId).placeHold({
callbackFunction: callback,
item: getFieldValueByName('item'),
notNeededAfter: getFieldValueByName('not_needed_after')?.replace(/-/gu, ''),
pickupLocation: getFieldValueByName('pickup_location')
});
Pride.requestRecord(datastoreUid, recordId).placeHold(
getFieldValueByName('item'),
getFieldValueByName('pickup_location'),
getFieldValueByName('not_needed_after')?.replace(/-/gu, ''),
callback
);
}
};

Expand Down

0 comments on commit 3c52d73

Please sign in to comment.