@ministryofjustice/hmpps-digital-prison-reporting-frontend 3.12.0 → 3.12.2
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.
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
{% set reportName = data.reportName %}
|
|
11
11
|
{% set definitionPath = data.definitionPath %}
|
|
12
12
|
{% set csrfToken = data.csrfToken %}
|
|
13
|
-
{% set
|
|
13
|
+
{% set template = data.template %}
|
|
14
14
|
|
|
15
15
|
{{ dprAsyncRequestDetails( reportName, variantName, description, '', reportId, variantId )}}
|
|
16
16
|
|
package/dpr/data/restClient.js
CHANGED
|
@@ -76,7 +76,7 @@ class RestClient {
|
|
|
76
76
|
logger_1.default.info(`Get using user credentials: calling ${this.name}: ${this.config.url}${path} ${JSON.stringify(query)}`);
|
|
77
77
|
try {
|
|
78
78
|
const result = await superagent_1.default
|
|
79
|
-
.
|
|
79
|
+
.delete(`${this.apiUrl()}${path}`)
|
|
80
80
|
.agent(this.agent)
|
|
81
81
|
.retry(2, (err) => {
|
|
82
82
|
if (err)
|
package/dpr/data/restClient.ts
CHANGED
|
@@ -75,7 +75,7 @@ export default class RestClient {
|
|
|
75
75
|
logger.info(`Get using user credentials: calling ${this.name}: ${this.config.url}${path} ${JSON.stringify(query)}`)
|
|
76
76
|
try {
|
|
77
77
|
const result = await superagent
|
|
78
|
-
.
|
|
78
|
+
.delete(`${this.apiUrl()}${path}`)
|
|
79
79
|
.agent(this.agent)
|
|
80
80
|
.retry(2, (err) => {
|
|
81
81
|
if (err) logger.info(`Retry handler found API error with ${err.code} ${err.message}`)
|
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.12.
|
|
4
|
+
"version": "3.12.2",
|
|
5
5
|
"main": "dpr/assets/js/all.mjs",
|
|
6
6
|
"sass": "dpr/all.scss",
|
|
7
7
|
"engines": {
|
package/package.zip
CHANGED
|
Binary file
|