Skip to content

Commit

Permalink
fix(DICOM Upload): use correct Accept header for upload (#3498)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbocce authored Jun 27, 2023
1 parent c98211c commit ef4f286
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 ef4f286

Please sign in to comment.