Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dgcohen committed Dec 11, 2024
1 parent dbc84d1 commit fdf92d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pages/hold/confirmation/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,9 @@ export async function getServerSideProps({ params, req, res, query }) {
const itemBarcode = discoveryBibResult?.items?.[0]?.["idBarcode"]?.[0]

if (!itemBarcode) {
throw new Error("Hold Confirmation Page - Item not found")
throw new Error(
"Hold Confirmation Page - Item barcode not found in discoveryBibResult"
)
}

const { deliveryLocations } = await fetchDeliveryLocations(
Expand Down

0 comments on commit fdf92d6

Please sign in to comment.