fix: Added Jacuzzi and Relax to the switch statement to avoid unnecessary warnings in the logs

* fix: Ignore casing in getTranslatedName switch statement

Approved-by: Joakim Jäderberg
This commit is contained in:
Erik Tiekstra
2025-10-06 07:54:45 +00:00
parent 20f1020818
commit e18bba79c6
2 changed files with 18 additions and 15 deletions

View File

@@ -112,7 +112,9 @@ export async function translateWellnessDetails({
})
.filter((d): d is string => !!d)
.sort()
case HealthFacilitiesEnum.Jacuzzi:
case HealthFacilitiesEnum.Relax:
return null
default:
logger.warn(`Unsupported type given: ${type}`)
}