@gov-cy/govcy-express-services 0.1.2 → 0.1.3
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/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gov-cy/govcy-express-services",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "An Express-based system that dynamically renders services using @gov-cy/govcy-frontend-renderer and posts data to a submission API.",
|
|
5
5
|
"author": "DMRID - DSF Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -90,7 +90,7 @@ export function govcyReviewPostHandler() {
|
|
|
90
90
|
|
|
91
91
|
// Check if the response is successful
|
|
92
92
|
if (response.Succeeded) {
|
|
93
|
-
let referenceNo = response?.Data?.
|
|
93
|
+
let referenceNo = response?.Data?.referenceValue || "";
|
|
94
94
|
// Add the reference number to the submission data
|
|
95
95
|
submissionData.referenceNumber = referenceNo;
|
|
96
96
|
logger.info("✅ Data submitted", siteId, referenceNo);
|