diff --git a/codecov_cli/services/upload/upload_sender.py b/codecov_cli/services/upload/upload_sender.py index af9dc7b5..447aa8e4 100644 --- a/codecov_cli/services/upload/upload_sender.py +++ b/codecov_cli/services/upload/upload_sender.py @@ -87,7 +87,7 @@ def _generate_payload( ) -> bytes: network_files = upload_data.network payload = { - "path_fixes": { + "report_fixes": { "format": "legacy", "value": self._get_file_fixers(upload_data), }, diff --git a/tests/helpers/test_upload_sender.py b/tests/helpers/test_upload_sender.py index 26fa5511..75876695 100644 --- a/tests/helpers/test_upload_sender.py +++ b/tests/helpers/test_upload_sender.py @@ -237,7 +237,7 @@ def test_generate_payload_overall(self, mocked_coverage_file): get_fake_upload_collection_result(mocked_coverage_file), None ) expected_report = { - "path_fixes": { + "report_fixes": { "format": "legacy", "value": { "SwiftExample/AppDelegate.swift": { @@ -304,7 +304,7 @@ def test_generate_empty_payload_overall(self): UploadCollectionResult([], [], []), None ) expected_report = { - "path_fixes": { + "report_fixes": { "format": "legacy", "value": {}, },