Skip to content

Commit

Permalink
Remove optional chaining from patronIds
Browse files Browse the repository at this point in the history
  • Loading branch information
dgcohen committed Dec 16, 2024
1 parent 5915469 commit 90427b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/hold/request/[id]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export default function HoldRequestPage({
const response = await fetch(`${BASE_URL}/api/hold/request/${holdId}`, {
method: "POST",
body: JSON.stringify({
patronId: patronId?.value,
patronId: patronId.value,
source: source?.value,
pickupLocation: pickupLocation?.value,
jsEnabled: true,
Expand Down

0 comments on commit 90427b0

Please sign in to comment.