File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ export function* changeBodyTypeSaga({ bodyType }) {
180180 headers = setContentType ( headers , 'multipart/form-data' ) ;
181181 break ;
182182 case 'urlencoded' :
183- headers = setContentType ( headers , 'application/x-www-urlencoded' ) ;
183+ headers = setContentType ( headers , 'application/x-www-form- urlencoded' ) ;
184184 break ;
185185 case 'json' :
186186 headers = setContentType ( headers , 'application/json' ) ;
Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ describe('changeBodyTypeSaga saga', () => {
224224 expect ( iterator . next ( [ ] ) . value ) . toEqual (
225225 put ( change ( requestForm , 'headers' , [ {
226226 name : 'Content-Type' ,
227- value : 'application/x-www-urlencoded' ,
227+ value : 'application/x-www-form- urlencoded' ,
228228 } ] ) ) ,
229229 ) ;
230230 } ) ;
You can’t perform that action at this time.
0 commit comments