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:
@@ -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}`)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user