diff --git a/src/components/reservation/helper.ts b/src/components/reservation/helper.ts index 096411b345..7d3cb598e5 100644 --- a/src/components/reservation/helper.ts +++ b/src/components/reservation/helper.ts @@ -54,7 +54,10 @@ export const getFutureDateStringISO = (num: number) => { return futureDate; }; -type Periodical = Pick; +type Periodical = Pick< + PeriodicalEdition, + "volumeNumber" | "volumeYear" | "volume" +>; const constructReservation = ({ manifestation: { pid }, @@ -116,6 +119,7 @@ export const constructReservationData = ({ ...(periodical ? { periodical: { + volume: periodical.volume, volumeNumber: periodical.volumeNumber, volumeYear: periodical.volumeYear }