Commit 35776972 authored by networkException's avatar networkException Committed by derf
Browse files

MOTIS: Store trip operator

parent 7bedd324
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -370,6 +370,8 @@ sub add {
			);
		}

		$persistent_data->{operator} = $journey->agency;

		$db->insert(
			'in_transit',
			{
@@ -393,6 +395,7 @@ sub add {
						%{ $data // {} }
					}
				),
				user_data  => JSON->new->encode($persistent_data),
				backend_id => $backend_id,
			}
		);