File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ module.exports = {
22 root : true ,
33 extends : [ 'airbnb-base' , 'prettier' ] ,
44 rules : {
5- 'import/extensions' : "always" , // Better for native ES Module usage
5+ 'import/extensions' : 2 , // Better for native ES Module usage
66 'no-console' : 0 , // We can remove this later
77 'no-underscore-dangle' : 0 ,
88 'no-plusplus' : [ 'error' , { allowForLoopAfterthoughts : true } ] ,
Original file line number Diff line number Diff line change 1- import { multipartEncode , multipartDecode } from './message.js ' ;
1+ import { multipartEncode , multipartDecode } from './message' ;
22
33function isObject ( obj ) {
44 return typeof obj === 'object' && obj !== null ;
@@ -307,7 +307,7 @@ class DICOMwebClient {
307307 }
308308
309309 if ( requestHooks && areValidRequestHooks ( requestHooks ) ) {
310- const combinedHeaders = Object . assign ( { } , headers , this . headers ) ;
310+ const combinedHeaders = { ... headers , ... this . headers } ;
311311 const metadata = { method, url, headers : combinedHeaders } ;
312312 const pipeRequestHooks = functions => args =>
313313 functions . reduce ( ( props , fn ) => fn ( props , metadata ) , args ) ;
@@ -1103,7 +1103,6 @@ class DICOMwebClient {
11031103 */
11041104 searchForInstances ( options = { } ) {
11051105 let url = this . qidoURL ;
1106- let withCredentials = false ;
11071106 if ( 'studyInstanceUID' in options ) {
11081107 url += `/studies/${ options . studyInstanceUID } ` ;
11091108 if ( 'seriesInstanceUID' in options ) {
@@ -1750,8 +1749,6 @@ class DICOMwebClient {
17501749 byteRange ,
17511750 false ,
17521751 false ,
1753- progressCallback ,
1754- withCredentials ,
17551752 ) ;
17561753 }
17571754 } catch ( e ) {
You can’t perform that action at this time.
0 commit comments