timetable-extension #1
@ -87,6 +87,11 @@ func CreateCorpusIndexes() error {
|
||||
func GetTiplocFromCrs(crs string) (tiploc string, err error) {
|
||||
// Return TIPLOC from CRS code
|
||||
|
||||
// TEMP FIX: WPH does not return a tiploc
|
||||
if crs == "WPH" {
|
||||
return "WORCPHL", nil
|
||||
}
|
||||
|
||||
crs = strings.ToUpper(crs)
|
||||
// PIPELINE:
|
||||
pipeline := bson.A{
|
||||
|
Loading…
Reference in New Issue
Block a user