feat(SW-874): Update function name
This commit is contained in:
@@ -4,7 +4,7 @@ import { RoomConfiguration } from "@/server/routers/hotels/output"
|
||||
* Get the lowest priced room for each room type that appears more than once.
|
||||
*/
|
||||
|
||||
export function getLowestPricedDuplicateRooms(
|
||||
export function filterDuplicateRoomTypesByLowestPrice(
|
||||
roomConfigurations: RoomConfiguration[]
|
||||
) {
|
||||
const roomTypeCount = roomConfigurations.reduce(
|
||||
|
||||
Reference in New Issue
Block a user