fixed wrong params passed to queue message
This commit is contained in:
+1
-1
@@ -67,7 +67,7 @@ AZURE_CLIENT_SECRET = $CLIENT_SECRET
|
|||||||
AZURE_STORAGE_ACCOUNT_NAME= "pedwtest"
|
AZURE_STORAGE_ACCOUNT_NAME= "pedwtest"
|
||||||
// dev key
|
// dev key
|
||||||
//AZURE_STORAGE_ACCOUNT_KEY = JS3ZIXianhYhB1lZrHB+bXbdzaLlON0alCyKrFAb+jVEwr9iqo2dty92EBxwnufNFM+CSN/fKX2R+AStDn0byg==
|
//AZURE_STORAGE_ACCOUNT_KEY = JS3ZIXianhYhB1lZrHB+bXbdzaLlON0alCyKrFAb+jVEwr9iqo2dty92EBxwnufNFM+CSN/fKX2R+AStDn0byg==
|
||||||
//test key
|
test key
|
||||||
AZURE_STORAGE_ACCOUNT_KEY = Dl8qUVEnR2mglklQorttMurmjUpe2lI3oMWl9V245U6BOLutXDwmpU36afeTrGLK+zfzNVLErsWM+AStiYsimw==
|
AZURE_STORAGE_ACCOUNT_KEY = Dl8qUVEnR2mglklQorttMurmjUpe2lI3oMWl9V245U6BOLutXDwmpU36afeTrGLK+zfzNVLErsWM+AStiYsimw==
|
||||||
|
|
||||||
//AZURE_PEDW_STORAGE_ENDPOINT = https://pedwdev.blob.core.windows.net
|
//AZURE_PEDW_STORAGE_ENDPOINT = https://pedwdev.blob.core.windows.net
|
||||||
|
|||||||
@@ -87,10 +87,11 @@ let BuildCheckSection = (props) => {
|
|||||||
|
|
||||||
for (let key in filesUplaodObj) {
|
for (let key in filesUplaodObj) {
|
||||||
for (let j in filesUplaodObj[key]) {
|
for (let j in filesUplaodObj[key]) {
|
||||||
buildAppealFilesArray.push({
|
typeof filesUplaodObj[key][j].name != "undefined" &&
|
||||||
"name": filesUplaodObj[key][j].name,
|
buildAppealFilesArray.push({
|
||||||
"size": filesUplaodObj[key][j].size,
|
"name": filesUplaodObj[key][j].name,
|
||||||
});
|
"size": filesUplaodObj[key][j].size,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -132,29 +133,41 @@ let BuildCheckSection = (props) => {
|
|||||||
<div className="govuk-summary-list__row" key={"9999"}>
|
<div className="govuk-summary-list__row" key={"9999"}>
|
||||||
<dt className="govuk-summary-list__key">
|
<dt className="govuk-summary-list__key">
|
||||||
{buildAppealFilesArray.length > 0
|
{buildAppealFilesArray.length > 0
|
||||||
? buildAppealFilesArray.map((blob, i) => (
|
? buildAppealFilesArray.map((blob, i) => {
|
||||||
<div
|
console.log(
|
||||||
key={blob.name + "_" + i}
|
"thetre blbo:",
|
||||||
className="govuk-!-margin-bottom-5 fileThumb "
|
buildAppealFilesArray,
|
||||||
>
|
blob
|
||||||
<img
|
);
|
||||||
src={getThumbnailIconByExtension(
|
return (
|
||||||
blob.name
|
<div
|
||||||
)}
|
key={blob.name + "_" + i}
|
||||||
alt={blob.name.slice(
|
className="govuk-!-margin-bottom-5 fileThumb "
|
||||||
blob.name.indexOf("_") + 1
|
>
|
||||||
)}
|
<img
|
||||||
width="50"
|
src={getThumbnailIconByExtension(
|
||||||
/>
|
blob.name
|
||||||
|
)}
|
||||||
|
alt={blob.name.slice(
|
||||||
|
blob.name.indexOf(
|
||||||
|
"_"
|
||||||
|
) + 1
|
||||||
|
)}
|
||||||
|
width="50"
|
||||||
|
/>
|
||||||
|
|
||||||
<span className="govuk-body govuk-!-font-size-14 govuk-!-padding-left-5">
|
<span className="govuk-body govuk-!-font-size-14 govuk-!-padding-left-5">
|
||||||
{blob.name.slice(
|
{blob.name.slice(
|
||||||
blob.name.indexOf("_") + 1
|
blob.name.indexOf(
|
||||||
)}
|
"_"
|
||||||
({bytesToSize(blob?.size)})
|
) + 1
|
||||||
</span>
|
)}
|
||||||
</div>
|
({bytesToSize(blob?.size)}
|
||||||
))
|
)
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
})
|
||||||
: ""}
|
: ""}
|
||||||
</dt>
|
</dt>
|
||||||
<dd className="govuk-summary-list__actions">
|
<dd className="govuk-summary-list__actions">
|
||||||
|
|||||||
@@ -63,8 +63,8 @@ let CompleteAppeal = (props) => {
|
|||||||
sendEmail(templateId, emailAddress, personalisation, reference);
|
sendEmail(templateId, emailAddress, personalisation, reference);
|
||||||
|
|
||||||
sendCaseCompleteMessage(
|
sendCaseCompleteMessage(
|
||||||
props.appealType.caseReference.ticketnumber,
|
props.props.accountDetails.containerID,
|
||||||
props.props.accountDetails.loggedinUserEmail
|
props.appealType.caseReference.ticketnumber
|
||||||
);
|
);
|
||||||
|
|
||||||
console.log("patching////////");
|
console.log("patching////////");
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ export default async function ApiProxy(req, res) {
|
|||||||
return res.status(200).send(response.data);
|
return res.status(200).send(response.data);
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
console.log("has downloaded");
|
console.log(docRef.id + "has downloaded");
|
||||||
|
|
||||||
return "downloadComplete";
|
return "downloadComplete";
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user