File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
src/routes/(protected)/metrics Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 1212 const apiExplorerUrl = $page .data .externalLinks ?.API_EXPLORER_URL || " https://apiexplorer-ii-sandbox.openbankproject.com" ;
1313
1414 function getOperationId(metric : any ): string {
15- const version = metric .implemented_in_version || " " ;
16- const partialFunction = metric .implemented_by_partial_function || " " ;
17- if (version && partialFunction ) {
18- return ` OBP${version }-${partialFunction } ` ;
19- }
20- return partialFunction || " N/A" ;
15+ return metric .operation_id || " Err" ;
2116 }
2217
2318 function getApiExplorerLink(metric : any ): string {
2419 const operationId = getOperationId (metric );
25- if (operationId === " N/A " ) return " " ;
20+ if (operationId === " Err " ) return " " ;
2621 return ` ${apiExplorerUrl }/resource-docs/OBPv6.0.0?operationid=${operationId } ` ;
2722 }
2823
You can’t perform that action at this time.
0 commit comments