chore: cleaning up select-rate

This commit is contained in:
Simon Emanuelsson
2025-02-05 20:18:03 +01:00
parent 3044bc87d1
commit 051bc54e6c
95 changed files with 3269 additions and 3527 deletions

View File

@@ -565,7 +565,7 @@ export const hotelQueryRouter = router({
error: validateAvailabilityData.error,
})
)
throw badRequestError()
return null
}
metrics.roomAvailability.success.add(1, {
hotelId,
@@ -1545,6 +1545,7 @@ export const hotelQueryRouter = router({
"api.hotels.packages error",
JSON.stringify({ query: { hotelId, params } })
)
return null
}
const apiJson = await apiResponse.json()
@@ -1563,7 +1564,7 @@ export const hotelQueryRouter = router({
error: validatedPackagesData.error,
})
)
throw badRequestError()
return null
}
metrics.packages.success.add(1, {