capacitor
capacitor copied to clipboard
fix: add default value for dataType
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
This PR adds a default value for
dataTypein the request function to ensure it is handled properly when not provided. This ensures consistent request behavior.Fixes #7245
✋🏻😎🤚🏻
cinema.
@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