File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -109,15 +109,9 @@ function buildFinlexUrl(statute: StatuteKey): { uri: string, uriOld: string } {
109109 const baseUrl = 'https://opendata.finlex.fi/finlex/avoindata/v1/akn/fi/act'
110110
111111 return {
112- uri : `${ baseUrl } /statute/${ statute . year } /${ statute . number } /${ statute . language } @` ,
113- uriOld : `${ baseUrl } /statute/${ statute . year } /${ statute . number } /${ statute . language } @${ statute . version ? statute . version : '' } `
112+ uri : `${ baseUrl } /statute-consolidated /${ statute . year } /${ statute . number } /${ statute . language } @` ,
113+ uriOld : `${ baseUrl } /statute-consolidated /${ statute . year } /${ statute . number } /${ statute . language } @${ statute . version ? statute . version : '' } `
114114 } ;
115- /*
116- return {
117- uriOld: `${baseUrl}/statute-consolidated/${statute.year}/${statute.number}/${statute.language}@${statute.version ? statute.version : ''}`,
118- uri: `${baseUrl}/statute-consolidated/${statute.year}/${statute.number}/${statute.language}@${statute.version ? statute.version : ''}`
119- };
120- */
121115}
122116
123117function parseJudgmentUrl ( url : string ) : JudgmentKey {
You can’t perform that action at this time.
0 commit comments