capacitor icon indicating copy to clipboard operation
capacitor copied to clipboard

fix: add default value for dataType

Open RichardVsc opened this issue 1 year ago • 2 comments

This PR adds a default value for dataType in the request function to ensure it is handled properly when not provided. This ensures consistent request behavior.

Fixes #7245

RichardVsc avatar May 29 '24 14:05 RichardVsc

This PR adds a default value for dataType in the request function to ensure it is handled properly when not provided. This ensures consistent request behavior.

Fixes #7245

✋🏻😎🤚🏻

cinema.

jonas-elias avatar May 29 '24 16:05 jonas-elias

@RichardVsc I saw your implementation, but I think you should also add the header if none is set. I can't do it on IOS but check my pull request https://github.com/ionic-team/capacitor/pull/7491 if you agree with me

LucaFontanot avatar May 30 '24 09:05 LucaFontanot