Skip to content

Commit

Permalink
DB: fix supported query traits
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-albers committed Jan 18, 2025
1 parent ddcdd13 commit f6af686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/TripKit/Provider/Implementations/DbProvider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class DbProvider: AbstractNetworkProvider {
let requestUrlEncoding: String.Encoding = .utf8

public override var supportedLanguages: Set<String> { ["de", "en", "fr", "es", "it", "nl", "da", "pl", "cs"] }
public override var supportedQueryTraits: Set<QueryTrait> { Set(Array(super.supportedQueryTraits) + [.tariffTravelerType, .tariffReductions]) }
public override var supportedQueryTraits: Set<QueryTrait> { [.maxChanges, .minChangeTime, .tariffClass, .tariffTravelerType, .tariffReductions] }
/// See https://reiseauskunft.bahn.de/addons/fachkonfig-utf8.cfg
public override var tariffReductionTypes: [TariffReduction] {
[
Expand Down

0 comments on commit f6af686

Please sign in to comment.