fix: initial fix of modify dates

This commit is contained in:
Simon Emanuelsson
2025-04-02 21:52:31 +02:00
committed by Michael Zetterberg
parent a34951e075
commit 4e36fecd6e
3 changed files with 80 additions and 67 deletions

View File

@@ -90,7 +90,7 @@ export default function useModifyStay({
let totalNewPrice = 0
try {
const data = await utils.client.hotel.availability.room.query({
const data = await utils.hotel.availability.room.fetch({
hotelId: bookedRoom.hotelId,
roomStayStartDate: formValues.checkInDate,
roomStayEndDate: formValues.checkOutDate,