Skip to content

Commit

Permalink
fix: incorrect response message
Browse files Browse the repository at this point in the history
  • Loading branch information
Chinlinlee committed Jan 4, 2022
1 parent 8991a7b commit 16b6303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/dicom-web/controller/wado-rs-framenumber.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ multipartFunc["image/jpeg"] = {
let maxFrameNumber = _.max(frameList);
let minFrameNumber = _.min(frameList);
if (minFrameNumber <= 0) {
DICOMWebHandleError.sendBadRequestMessage(res , `Bad frame number , This instance NumberOfFrames is : ${dicomNumberOfFrames} , But request ${minFrameNumber}`);
DICOMWebHandleError.sendBadRequestMessage(res, `Invalid frame number ,The number must be positive and greater than zero , The number must >=0 , But request ${minFrameNumber}`);
return resolve(false);
}
let dicomJson = await mongodb.ImagingStudy.findOne({
Expand Down

0 comments on commit 16b6303

Please sign in to comment.