Skip to content

Commit

Permalink
fix(DICOM Upload):use correct Accept header for upload
Browse files Browse the repository at this point in the history
  • Loading branch information
jbocce committed Jun 27, 2023
1 parent c98211c commit bb7a7e2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ const DicomUploadProgressItem = memo(
const [failedReason, setFailedReason] = useState('');
const [status, setStatus] = useState(dicomFileUploader.getStatus());

console.info(`${dicomFileUploader.getFileId()}`);
const isComplete = useCallback(() => {
return (
status === UploadStatus.Failed ||
Expand Down
2 changes: 1 addition & 1 deletion extensions/default/src/DicomWebDataSource/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ function createDicomWebApi(dicomWebConfig, userAuthenticationService) {

store: {
dicom: async (dataset, request) => {
wadoDicomWebClient.headers = generateWadoHeader();
wadoDicomWebClient.headers = getAuthrorizationHeader();
if (dataset instanceof ArrayBuffer) {
const options = {
datasets: [dataset],
Expand Down

0 comments on commit bb7a7e2

Please sign in to comment.