Skip to content

Commit

Permalink
fix: stgcmt cannot failure reason
Browse files Browse the repository at this point in the history
- should be int array
  • Loading branch information
Chinlinlee committed Mar 11, 2024
1 parent 00f2925 commit 84e977c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dimse/stgcmt.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class JsStgCmtScp {
await attr.setString(Tag.ReferencedSOPClassUID, VR.UI, classUid);
await attr.setString(Tag.ReferencedSOPInstanceUID, VR.UI, instanceUid);
if (failureReason !== Status.Success) {
await attr.setInt(Tag.FailureReason, VR.US, failureReason);
await attr.setInt(Tag.FailureReason, VR.US, [failureReason]);
}
return attr;
}
Expand Down

0 comments on commit 84e977c

Please sign in to comment.