@defra-fish/gafl-webapp-service 1.61.0-rc.7 → 1.61.0-rc.8

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defra-fish/gafl-webapp-service",
3
- "version": "1.61.0-rc.7",
3
+ "version": "1.61.0-rc.8",
4
4
  "description": "The websales frontend for the GAFL service",
5
5
  "type": "module",
6
6
  "engines": {
@@ -36,8 +36,8 @@
36
36
  "prepare": "gulp --gulpfile build/gulpfile.cjs"
37
37
  },
38
38
  "dependencies": {
39
- "@defra-fish/business-rules-lib": "1.61.0-rc.7",
40
- "@defra-fish/connectors-lib": "1.61.0-rc.7",
39
+ "@defra-fish/business-rules-lib": "1.61.0-rc.8",
40
+ "@defra-fish/connectors-lib": "1.61.0-rc.8",
41
41
  "@defra/hapi-gapi": "^2.0.0",
42
42
  "@hapi/boom": "^9.1.2",
43
43
  "@hapi/catbox-redis": "^6.0.2",
@@ -79,5 +79,5 @@
79
79
  "./gafl-jest-matchers.js"
80
80
  ]
81
81
  },
82
- "gitHead": "6f25e94fea4bfd5b6ce7a33ca0b0fc5eba46c1ae"
82
+ "gitHead": "6ee197c0caa5d83c4b111f6a382eee271d1e4f61"
83
83
  }
@@ -23,8 +23,6 @@ import { nextPage } from '../../../routes/next-page.js'
23
23
  import { addLanguageCodeToUri } from '../../../processors/uri-helper.js'
24
24
  import { displayPermissionPrice } from '../../../processors/price-display.js'
25
25
  import { hasJunior } from '../../../processors/concession-helper.js'
26
- import db from 'debug'
27
- const debug = db('webapp:licence-summary')
28
26
 
29
27
  class RowGenerator {
30
28
  constructor (request, permission) {
@@ -190,14 +188,12 @@ export const getData = async request => {
190
188
 
191
189
  status.fromSummary = getFromSummary(status.fromSummary, permission.isRenewal)
192
190
  await request.cache().helpers.status.setCurrentPermission(status)
193
- debug('retrieving permit info')
194
191
  const hash = hashPermission(permission)
195
192
  if (permission.hash !== hash) {
196
193
  permission.permit = await findPermit(permission)
197
194
  permission.hash = hash
198
195
  await request.cache().helpers.transaction.setCurrentPermission(permission)
199
196
  }
200
- debug('retrieved permit', JSON.stringify(permission))
201
197
 
202
198
  return {
203
199
  licenceSummaryRows: getLicenceSummaryRows(request, permission),