Skip to content

Commit

Permalink
fix: dicom json model should input object not array
Browse files Browse the repository at this point in the history
  • Loading branch information
Chinlinlee committed Dec 20, 2023
1 parent 6f345e3 commit 693f8de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class CreateMwlItemService {
this.response = res;
this.requestMwlItem = /** @type {Object} */(this.request.body);
/** @type {DicomJsonModel} */
this.requestMwlItemDicomJsonModel = new DicomJsonModel(this.requestMwlItem);
this.requestMwlItemDicomJsonModel = new DicomJsonModel(this.requestMwlItem[0]);
this.apiLogger = new ApiLogger(req, "Create Mwl Item Service");
this.apiLogger.addTokenValue();
}
Expand Down

0 comments on commit 693f8de

Please sign in to comment.