File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " mobility-database" ,
3- "version" : " 0.1.0 " ,
3+ "version" : " 0.1.1 " ,
44 "private" : true ,
55 "dependencies" : {
66 "@emotion/react" : " ^11.13.0" ,
Original file line number Diff line number Diff line change @@ -251,8 +251,8 @@ export default function generateFeedStructuredData(
251251 // For gtfs rt
252252 relatedFeeds ?: AllFeedType [ ] ,
253253 relatedGtfsFeeds ?: GTFSFeedType [ ] ,
254- ) : StructureDataInterface {
255- let structuredData : StructureDataInterface = { } ;
254+ ) : StructureDataInterface | undefined {
255+ let structuredData : StructureDataInterface | undefined ;
256256 if ( feed ?. data_type === 'gtfs' ) {
257257 structuredData = getGtfsStructuredData ( feed as GTFSFeedType , description ) ;
258258 } else if ( feed ?. data_type === 'gbfs' ) {
You can’t perform that action at this time.
0 commit comments