Skip to content

Commit

Permalink
fix: incorrect property of object
Browse files Browse the repository at this point in the history
- It's request.params not requestParams
  • Loading branch information
Chinlinlee committed Mar 28, 2023
1 parent 9ca6365 commit c85f999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/dicom-web/controller/WADO-RS/rendered/instances.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class RetrieveRenderedInstancesController extends Controller {
}

try {
let imagePathObj = await mongoose.model("dicom").getPathOfInstance(this.requestParams);
let imagePathObj = await mongoose.model("dicom").getPathOfInstance(this.request.params);

if (imagePathObj) {
let multipartWriter = new MultipartWriter([], this.response, this.request);
Expand Down

0 comments on commit c85f999

Please sign in to comment.