Skip to content

Commit

Permalink
fix: function in WADOFunc not exist
Browse files Browse the repository at this point in the history
- The function in WADOFunc was removed previous commit, I forget
to remove it....
  • Loading branch information
Chinlinlee committed Apr 19, 2022
1 parent ccb95aa commit 98fef3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/dicom-web/controller/wado-rs.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = async function (req , res) {
for (let i = 0 ; i < keys.length ; i++) {
paramsStr += keys[i];
}
let WADOFunc = {"studyID" :getStudyDicom, "studyIDseriesID": getSeriesDicom , "studyIDseriesIDinstanceID": getInstance};
let WADOFunc = {"studyID" : "", "studyIDseriesID": "" , "studyIDseriesIDinstanceID": ""};
if (req.headers.accept.toLowerCase() == "application/zip") {
let wadoZip = new WADOZip(req.params, res);
let zipProcess = await wadoZip[`method-${paramsStr}`]();
Expand Down

0 comments on commit 98fef3f

Please sign in to comment.