File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,10 @@ function parseFinlexUrl(url: string): { docYear: number; docNumber: string; docL
4141}
4242
4343function buildFinlexUrl ( statute : StatuteKey ) : string {
44- const baseUrl = 'https://opendata.finlex.fi/finlex/avoindata/v1/akn/fi/act/statute-consolidated' ;
45- return `${ baseUrl } /${ statute . year } /${ statute . number } /${ statute . language } @${ statute . version ? statute . version : '' } ` ;
44+ // const baseUrl = 'https://opendata.finlex.fi/finlex/avoindata/v1/akn/fi/act/statute-consolidated';
45+ // return `${baseUrl}/${statute.year}/${statute.number}/${statute.language}@${statute.version ? statute.version : ''}`;
46+ const baseUrl = 'https://opendata.finlex.fi/finlex/avoindata/v1/akn/fi/act/statute'
47+ return `${ baseUrl } /${ statute . year } /${ statute . number } /${ statute . language } @` ;
4648}
4749
4850function parseJudgmentUrl ( url : string ) : JudgmentKey {
You can’t perform that action at this time.
0 commit comments