@ministryofjustice/hmpps-digital-prison-reporting-frontend 3.26.0 → 3.26.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,7 +9,7 @@ class MetricService {
9
9
  return this.metricClient.getDefinitions(token, dataProductDefinitionsPath);
10
10
  }
11
11
  async getDefinition(token, metricId, dpdId, dataProductDefinitionsPath) {
12
- return this.metricClient.getDefinition(token, metricId, dataProductDefinitionsPath);
12
+ return this.metricClient.getDefinition(token, metricId, dpdId, dataProductDefinitionsPath);
13
13
  }
14
14
  async getMetricData(token, metricId, dpdId) {
15
15
  return this.metricClient.getMetricData(token, metricId, dpdId);
@@ -15,7 +15,7 @@ export default class MetricService {
15
15
  dpdId: string,
16
16
  dataProductDefinitionsPath?: string,
17
17
  ): Promise<MetricsDefinition> {
18
- return this.metricClient.getDefinition(token, metricId, dataProductDefinitionsPath)
18
+ return this.metricClient.getDefinition(token, metricId, dpdId, dataProductDefinitionsPath)
19
19
  }
20
20
 
21
21
  async getMetricData(token: string, metricId: string, dpdId: string): Promise<MetricsDataResponse> {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ministryofjustice/hmpps-digital-prison-reporting-frontend",
3
3
  "description": "The Digital Prison Reporting Frontend contains templates and code to help display data effectively in UI applications.",
4
- "version": "3.26.0",
4
+ "version": "3.26.1",
5
5
  "main": "dpr/assets/js/all.mjs",
6
6
  "sass": "dpr/all.scss",
7
7
  "engines": {
package/package.zip CHANGED
Binary file