实现酒店上下文单酒店收口
This commit is contained in:
1 parent
7492c21350
commit
d69f3975ef
52 files changed
+1183
-188
No files matched your search
@@ -152,7 +152,7 @@ function withQuery(path: string, params: object): string {
|
||||
|
||||
function withReservationHotel<T extends { hotel_id?: string }>(filters: T): T {
|
||||
return {
|
||||
hotel_id: getReservationHotelId(),
|
||||
hotel_id: getReservationHotelId() ?? undefined,
|
||||
...filters,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user