Skip to content

Commit

Permalink
fix: stow rs service usage missing res parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Chinlinlee committed Jan 20, 2024
1 parent d3c0045 commit 2904d45
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dimse/c-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const cStoreScpInjectProxy = createCStoreSCPInjectProxy({
socket: {
remoteAddress: await association.getCallingAET()
}
}, []);
}, { locals: {} }, []);

/** @type {formidable.File} */
let fileObj = {
Expand Down
2 changes: 1 addition & 1 deletion local/dicom-uploader.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async function storeInstance(filePath) {
host: "fake-host"
},
params: {}
}, []);
}, { locals: {} }, []);

/** @type {formidable.File} */
let fileObj = {
Expand Down
1 change: 0 additions & 1 deletion test/query.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ const formidable = require("formidable");
const glob = require("glob");
const path = require("path");
const fsP = require("fs/promises");
const { StowRsService } = require("../api/dicom-web/controller/STOW-RS/service/stow-rs.service");
const patientModel = require("../models/mongodb/models/patient.model");
const dicomStudyModel = require("../models/mongodb/models/study.model");
const dicomSeriesModel = require("../models/mongodb/models/series.model");
Expand Down
2 changes: 1 addition & 1 deletion test/store-instances.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async function storeDicomInstancesAndGet4Patients() {
host: "fake-host"
},
params: {}
}, []);
}, { locals: {} }, []);

/** @type {string[]} */
let files = glob.sync("**/*.dcm", {
Expand Down

0 comments on commit 2904d45

Please sign in to comment.