ctucx.git: oeffisearch

[nimlang] fast and simple tripplanner

commit 838e4ec3a9aab7568d2828cb7c9fbc801a0df216
parent 150e7300cee37599886e6137d9753698954d5a1b
Author: Milan Pässler <me@pbb.lc>
Date: Fri, 7 Feb 2020 17:28:59 +0100

Revert "backend/hafas: make productName optional"

This reverts commit 77d5944aa2e7d575a7f244460f27cc53a5fb7c24.
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/hafas/types.nim b/src/backend/hafas/types.nim
@@ -29,8 +29,8 @@ type
   HafasProdCtx* = object
     name*:     string
     num*:      string
-    catOut*:   Option[string]
-    catOutL*:  Option[string]
+    catOut*:   string
+    catOutL*:  string
     lineId*:   Option[string]
 
   HafasProd* = object
diff --git a/src/types.nim b/src/types.nim
@@ -83,8 +83,8 @@ type
     mode*:              Mode
     product*:           Product
     tripNum*:           string
-    productName*:       Option[string]
-    fullProductName*:   Option[string]
+    productName*:       string
+    fullProductName*:   string
     operator*:          Option[Operator]
     additionalName*:    Option[string]