feat(SW-874): Update function name

This commit is contained in:
Pontus Dreij
2024-11-13 20:41:48 +01:00
parent 2beba21323
commit 768bd40ad8
2 changed files with 4 additions and 5 deletions

View File

@@ -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(