diff --git a/src/modules/tracker/services/Trackers.ts b/src/modules/tracker/services/Trackers.ts index 35be6998..3f4fc469 100644 --- a/src/modules/tracker/services/Trackers.ts +++ b/src/modules/tracker/services/Trackers.ts @@ -57,7 +57,7 @@ export class Trackers { static getPublishingType( trackSearch: TrackSearch, ): PublishingType { - const type = trackSearch.publishingType.toLowerCase().replaceAll(' ', '_'); + const type = trackSearch.publishingType.toLowerCase().replaceAll(/[ |-]/g, '_'); switch (type) { case PublishingType.UNKNOWN: