@ministryofjustice/hmpps-prison-permissions-lib 2.4.0 → 2.4.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.
- package/dist/index.cjs +1 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +1 -4
- package/dist/index.esm.js.map +1 -1
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -1256,10 +1256,7 @@ class PermissionsService {
|
|
|
1256
1256
|
prisoner,
|
|
1257
1257
|
requestDependentOn,
|
|
1258
1258
|
});
|
|
1259
|
-
|
|
1260
|
-
return this.upgradePermissionsFromDuplicateRecords(prisoner, prisonerPermissions, duplicateRecords, user, requestDependentOn);
|
|
1261
|
-
}
|
|
1262
|
-
return prisonerPermissions;
|
|
1259
|
+
return this.upgradePermissionsFromDuplicateRecords(prisoner, prisonerPermissions, duplicateRecords, user, requestDependentOn);
|
|
1263
1260
|
}
|
|
1264
1261
|
calculatePrisonerPermissions({ user, prisoner, requestDependentOn, readOnly = false, }) {
|
|
1265
1262
|
const context = {
|